View Single Post
08-22-10, 12:57 PM   #8
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Originally Posted by Taryble View Post
Heh, you're welcome.

When it comes to RGB colors, I generally only know what happens when you have 255's or 0's in slots - not real good at the idea of "67, 192, 14" style colors. :>
Well, that's usually where a graphics program comes in handy. The problem for me, though, is that my gp's don't give colors in a decimal format that is compatible with plugging them into Lua. Since the RGB scale uses 255 as a max, and 0 as a minimum, I figured 10% of max is 25.5, so if you want that amount of color, .25 would have to do, since I really don't know how exact you can make those figures and the actual number is 25.5. Given your example (67, 192, 14) I figure you could probably get away with .26, .88, .07. Might not be exact, but it'll get close.

I'm hoping this helps other people having this same problem.
  Reply With Quote