Jump to content




Just the RGB values of the CC colors


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

#1 Jummit

  • Members
  • 306 posts
  • LocationJulfander Squad Studio

Posted 05 October 2017 - 07:42 AM

I saw myself wanting a table with the RGB values of the computercraft color palette, and since there is no documentation in the color api, i made one myself:
Spoiler
Use this how you want, you don't have to give me credit.

Edited by Jummit, 05 October 2017 - 07:42 AM.


#2 Anavrins

  • Members
  • 775 posts

Posted 05 October 2017 - 10:58 AM

http://www.computerc...iki/Colors_(API)
There's the RGB values documented at the bottom of that page.

Edited by Anavrins, 05 October 2017 - 11:01 AM.


#3 Jummit

  • Members
  • 306 posts
  • LocationJulfander Squad Studio

Posted 05 October 2017 - 11:19 AM

View PostAnavrins, on 05 October 2017 - 10:58 AM, said:

http://www.computerc...iki/Colors_(API)
There's the RGB values documented at the bottom of that page.
You mean this?
#F0F0F0
I used this to convert it to the values
I needed them in this format:
{r=0,g=0,b=0}

#4 Anavrins

  • Members
  • 775 posts

Posted 05 October 2017 - 07:37 PM

{r=0xF0, g=0xF0, b=0xF0} would work just as well.

Edited by Anavrins, 05 October 2017 - 07:37 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users