Jump to content




Open Peripheral Glasses Colour Codes?

help lua peripheral

  • You cannot reply to this topic
3 replies to this topic

#1 Dahknee

  • Members
  • 1,808 posts
  • Location/home/da

Posted 08 September 2014 - 09:54 PM

Anyone know what the colour codes are for OpenPeipheral's Glasses???

#2 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 08 September 2014 - 11:01 PM

I believe they are the "display" column in the colors api.

#3 natedogith1

  • Members
  • 110 posts

Posted 09 September 2014 - 01: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 by natedogith1, 09 September 2014 - 01:03 AM.


#4 Dahknee

  • Members
  • 1,808 posts
  • Location/home/da

Posted 09 September 2014 - 07:01 AM

View Postnatedogith1, on 09 September 2014 - 01:02 AM, said:

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 :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users