The RGB color model is a way of creating colors through the combination of the Red, Green, and Blue
primary colors. The values of these colors can range from 0 to 255, where 0 means no color and 255 means
the full intensity of the color.
Colors are defined using the format rgb(red, green, blue), where red,
green, and blue are the intensity values for each color component.
Color Examples
255 0 0
0 255 0
0 0 255
255 255 0
0 255 255
255 0 255
255 255 255
0 0 0
By mixing these three colors in different amounts, we can create a wide range of colors. For example, to
make a shade of orange, you might use a high value for red, a medium value for green, and no blue, like
rgb(255, 165, 0).
Try it yourself
rgb(255,165,0)
R: G:B:
You're looking for colors with a colorChosen value between colorMin and colorMax.