Colors

Computers represent colors with the RGB model: Red Green Blue is the order. You need a set of 3 numbers for make color to work.

rgb(255, 0, 0)

Minimum number for each is 0, and maximum number is 255. The color above is red, because the red value is at max and blue and green are both at 0. Below is the hexadecimal formatting of red. With hexadecimal formatting, each primary color is given 2 digits, so the FF is for Red, 00 in the middle is for Green, and 00 on the right is for Blue:

#ff0000


Python Colors

Sets up a color/format class

Sets up two RGB functions for text and background colors

See the bottom for example usage

App Inventor Colors