Hi, im looking for some help with the color code parameters in a playfield.yaml file. The values do not look like normal hex style. Would be very happy about some help here. I just want to know how I can read out of this numbers what color is hidden behind it. example: "1,0.95,0.92" (white) "1,0.6,0" (orange) This is not hex or im wrong? I remember the color codes like 1-255 without dots. Please help =)
It's just RGB values expressed as floats with a range of 0.0 to 1.0 instead of 0-255. (This is how Unity, OpenGL, and DirectX do colors, and IIRC several other graphics engines. My guess would be it speeds up the math if they don't have to do type conversion first.) Just divide/multiply by 255 to convert.
Somebody should put together a 'chart' with these 0-1 color codes for quick reference. Somebody...hmmm....
Heh. No I mean on the internet in general. Here's a program you can use to pick or mix colors and get the result in any format you want: http://annystudio.com/software/colorpicker/#jcp-download
Find the color you want in HEX format, Copy hex format and post in the box at the top , enjoy your new decimal RGB color codes : http://www.corecoding.com/utilities/rgb-or-hex-to-float.php No downloads required and i usually use this site to get my perfect HEX color http://www.colorpicker.com/
Sorry for the rant/frustration earlier! I downloaded that program and it seems to work pretty well. I'm going to adjust some colors on planets, etc. after the next major patch/wipe rolls out. Thanks again!