Results 1 to 3 of 3

Thread: Code color

  1. #1
    Private
    Join Date
    Aug 2013
    Posts
    95
    Thanks
    13
    Thanked 4 Times in 3 Posts

    Code color

    hello everybody

    i wanna know how it work the codes color:
    PHP Code:
    000); 
    and what is the code for color purple?
    because i want make a disco in the admin menu.
    thx to help me
    xfire: ordi37zk

    someone can help me?

  2. #2
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    Hello!
    If you have the program Paint, then you can choose a color there.

    There is for every color 0 - 255.

    Here you can see the color purple:

    Click image for larger version. 

Name:	paint.png 
Views:	45 
Size:	101.6 KB 
ID:	701

    Red: 135
    Green: 16
    Blue: 132

    So now you have to divide it (255).

    The code is now
    Code:
    (135/255, 16/255, 132/255)
    Edit: or just do for purple:
    Code:
    (1, 0, 1)
    Last edited by Loveboy; 3rd May 2014 at 21:20.

  3. The Following User Says Thank You to Loveboy For This Useful Post:

    kung foo man (4th May 2014)

  4. #3
    Private First Class RobsoN's Avatar
    Join Date
    Jan 2013
    Location
    /home/cod2/
    Posts
    230
    Thanks
    119
    Thanked 95 Times in 64 Posts
    Same as Loveboy said, but you can get color easier from http://www.colorpicker.com/
    You need to take the last 3 ones R, G , B .
    "Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •