This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
DannySMc's profile picture

Open Peripheral Glasses Colour Codes?

Started by DannySMc, 08 September 2014 - 08:54 PM
DannySMc #1
Posted 08 September 2014 - 10:54 PM
Anyone know what the colour codes are for OpenPeipheral's Glasses???
KingofGamesYami #2
Posted 09 September 2014 - 12:01 AM
I believe they are the "display" column in the colors api.
natedogith1 #3
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
DannySMc #4
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 :)/>