1847 posts
Location
/home/dannysmc95
Posted 08 September 2014 - 10:54 PM
Anyone know what the colour codes are for OpenPeipheral's Glasses???
3057 posts
Location
United States of America
Posted 09 September 2014 - 12:01 AM
I believe they are the "display" column in the
colors api.
108 posts
Posted 09 September 2014 - 02:02 AM
OpenPeripheral's Terminal Glasses actually use a number encoding of rgb (0xrrggbb). So red would be 0xff0000, green would be 0x00ff00, blue would be 0x0000ff, and sky blue (according to wikipedia) would be 0x87CEEB
So yeah, the display column, just with an '0x' (for hexadecimal) instead of '#'
Edited on 09 September 2014 - 12:03 AM
1847 posts
Location
/home/dannysmc95
Posted 09 September 2014 - 08:01 AM
OpenPeripheral's Terminal Glasses actually use a number encoding of rgb (0xrrggbb). So red would be 0xff0000, green would be 0x00ff00, blue would be 0x0000ff, and sky blue (according to wikipedia) would be 0x87CEEB
So yeah, the display column, just with an '0x' (for hexadecimal) instead of '#'
Thanks :)/>