rgb

rgb(r, g, b)
Parameters
  • r (integer) – The red component of the color in the range of \([0,255]\)

  • g (integer) – The green component of the color in the range of \([0,255]\)

  • b (integer) – The blue component of the color in the range of \([0,255]\)

Returns

color

This function will create a color from its individual components.