Post: Get the perfect colour!
01-19-2012, 10:46 PM #1
Correy
I'm the Original
(adsbygoogle = window.adsbygoogle || []).push({}); This is just a quick tutorial showing you how to get the perfect colour for your element.

open up these.
You must login or register to view this content. - Colour Wheel.
You must login or register to view this content. - Online decimal calculator.


so, you want to get a colour.
You must login or register to view this content.

you see how i have the Red, Green & Blue value.
you need to put it into your element.colour, here's how it goes..
    
element.color = ( [COLOR="#FF0000"]red[/COLOR], [COLOR="#008000"]green[/COLOR], [COLOR="#0000CD"]blue[/COLOR] );


now, get your values from your color wheal.. mine being..
You must login or register to view this content.

open up the calculator and grab your values.
you want to dived them all by 255, just like this.. this is for my red value.
You must login or register to view this content.

my output is
    
0.7568627450980392


i dont want to be inputting all that into my colour, it's rather big.. so just round it up by the first 5 after the .
    
0.75686


after dividing every value, this is what i ended up with.
    
[COLOR="#FF0000"]red[/COLOR] : 0.75686
[COLOR="#008000"]green[/COLOR] : 0.78823
[COLOR="#0000CD"]blue[/COLOR] : 0.99215


now to put that into a simple code.
    
element.color = ( [COLOR="#FF0000"]0.75686[/COLOR], [COLOR="#008000"]0.78823[/COLOR], [COLOR="#0000CD"]0.99215[/COLOR] );


as simple as that Enzo
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to Correy for this useful post:

AgentSexyPig, DlBSY993, JamesSwagger, Taylor, xMrCheatVisionx
01-19-2012, 11:14 PM #2
Originally posted by Correy View Post
This is just a quick tutorial showing you how to get the perfect colour for your element.

open up these.
You must login or register to view this content. - Colour Wheel.
You must login or register to view this content. - Online decimal calculator.


so, you want to get a colour.
You must login or register to view this content.

you see how i have the Red, Green & Blue value.
you need to put it into your element.colour, here's how it goes..
    
element.color = ( [COLOR="#FF0000"]red[/COLOR], [COLOR="#008000"]green[/COLOR], [COLOR="#0000CD"]blue[/COLOR] );


now, get your values from your color wheal.. mine being..
You must login or register to view this content.

open up the calculator and grab your values.
you want to dived them all by 255, just like this.. this is for my red value.
You must login or register to view this content.

my output is
    
0.7568627450980392


i dont want to be inputting all that into my colour, it's rather big.. so just round it up by the first 5 after the .
    
0.75686


after dividing every value, this is what i ended up with.
    
[COLOR="#FF0000"]red[/COLOR] : 0.75686
[COLOR="#008000"]green[/COLOR] : 0.78823
[COLOR="#0000CD"]blue[/COLOR] : 0.99215


now to put that into a simple code.
    
element.color = ( [COLOR="#FF0000"]0.75686[/COLOR], [COLOR="#008000"]0.78823[/COLOR], [COLOR="#0000CD"]0.99215[/COLOR] );


as simple as that Enzo


use this site lmao it gives you nice names for the colors You must login or register to view this content.
and whats the point in all thos numbers when you can just add /255 Happy
01-19-2012, 11:17 PM #3
Easier method:

    .color = col(146, 255, 32);

col(col1, col2, col3)
{
return(col1/255, col2/255, col3/255);
}


Who wants to **** around with a calculator? :fa:

The following user thanked nZxMikeeeyx for this useful post:

Correy
01-19-2012, 11:21 PM #4
just use ff.compiler haha has this built in Dancing
01-19-2012, 11:36 PM #5
Choco
Respect my authoritah!!
I use this, I think it's much easier: You must login or register to view this content.

It automatically gives you the RGB color in decimal format Smile
01-20-2012, 12:00 AM #6
Correy
I'm the Original
Originally posted by nZxMikeeeyx View Post
Easier method:

    .color = col(146, 255, 32);

col(col1, col2, col3)
{
return(col1/255, col2/255, col3/255);
}


Who wants to **** around with a calculator? :fa:


or you can code it in .gsc :fa:

---------- Post added 01-20-2012 at 12:00 AM ---------- Previous post was 01-19-2012 at 11:59 PM ----------

Originally posted by .Choco View Post
I use this, I think it's much easier: You must login or register to view this content.

It automatically gives you the RGB color in decimal format Smile


Originally posted by IELIITEMODZX View Post
use this site lmao it gives you nice names for the colors You must login or register to view this content.
and whats the point in all thos numbers when you can just add /255 Happy


i didn't know about this stuff, but thanks guys.
simple tutorial for everyone anyway, i'll add your links to the thread Smile
01-20-2012, 12:49 AM #7
Originally posted by Correy View Post
or you can code it in .gsc :fa:

---------- Post added 01-20-2012 at 12:00 AM ---------- Previous post was 01-19-2012 at 11:59 PM ----------





i didn't know about this stuff, but thanks guys.
simple tutorial for everyone anyway, i'll add your links to the thread Smile

lolwut? that is GSC XD XD XD
01-20-2012, 12:52 AM #8
JamesSwagger
☜☆☞┌∩┐(◣_◢)┌∩┐☜☆☞
I kinda over did it lol
01-20-2012, 02:31 AM #9
Correy
I'm the Original
Originally posted by HackSeeker View Post
Thanks Correy :love:


your welcome matey :y:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo