rgba

rgba(r, g, b, a)
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]\)

  • a (numeric) – The alpha component of the color in the range of \([0,1]\)

Returns

color

This function will create a color from its individual components.