RGB <--> RYB

RGB: #7f7f7f
RYB: #7f7f7f


This got created because of something else I was building. Basically I wanted the user to be able to select their own colors, so I started with the standard RGB settings.

Then I thought, why RGB I don't understand RGB, I was taught Red/Yellow/Blue in kindergarten, there has got to be a formula for converting from Red/Yellow/Blue to RGB.

And there was from Arah J. Leonard I took his python code and rewrote it in JavaScript. This page was just created so I could try to figure out the RGB space, and map my understanding of RYB to RGB.

If you want to see the code behind the page you can download it here.