RGB (Red, Green, Blue) RGB (Red; Green; Blue)
Red
Number Number
The red color component. Must be between 0 and 255 (inclusive).
Green
Number Number
The green color component. Must be between 0 and 255 (inclusive).
Blue
Number Number
The blue color component. Must be between 0 and 255 (inclusive).
Returns
Color Color
A color based on the given color components.
Returns a color based on the given color components according to the Red-Green-Blue (RGB) color model.
This function is not commonly supported by spreadsheets.
Examples
RGB (255, 0, 0)
RGB (255; 0; 0)
Returns a color corresponding to Color.RedColor,Red.
RGB ({ 255, 0, 0 }, { 0, 255, 0 }, { 0, 0, 255 })
RGB ({ 255; 0; 0 }; { 0; 255; 0 }; { 0; 0; 255 })
Returns the array { Color.Red, Color.Lime, Color.Blue }{ Color,Red; Color,Lime; Color,Blue }.