Post: Change Color - NUMBERS
10-25-2010, 10:46 PM #1
mattbettiol
Internet Marker
(adsbygoogle = window.adsbygoogle || []).push({}); I know the color list for 1 type to change colors like:
^0 - Black
^1 - Red
^2 - Green

But can anyone give a list or a small tutorial on how to change the numbers highlighted in red below to a different color ?

self.hBack = self createRectangle("LEFT", "CENTER", 0, 0, 300, 30, (0,0,170));
(adsbygoogle = window.adsbygoogle || []).push({});
10-25-2010, 11:26 PM #11
Toptuning
Dexter FTW !!!
these spaces are maybe RGB colours. 0,0,170 is a dark blue.
10-25-2010, 11:28 PM #12
Accurs0
Do a barrel roll!
its like when you first get a new tv and you adjust the rgb thats all that is its not a color to change text colors, obviously if you add different amounts to each color it will make different colors so if you did (255,0,255) it would make purple o_O
10-26-2010, 08:19 AM #13
EliteMossy
TheDigitalBoard.com
You are all wrong!

It is a floating point number. it has to be divided by 255

so say for blue

((0/255),(0/255),(255/255))
which equals
(0,0,1);

or

((140/255),(200/255),(30/255))
which equals
(0.549,0.784,0.117)

So you MUST divide RGB by 255 to get the colour in floating point.

---------- Post added at 03:19 AM ---------- Previous post was at 03:18 AM ----------

Originally posted by AlabamaHit View Post
i have no idea what you said. But changing those sould just be

self.hBack = self createRectangle("LEFT", "CENTER", 0, 0, 300, 30, (^1 0,^2 0,^3 170));


You have no idea :(

The following user thanked EliteMossy for this useful post:

XxprokillahxX

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo