Version: 2.0
The RGB function returns an integer that defines an RGB color
value.
RGB is an old television term. It refers to the primary colors that
are used in color television (red, green, and blue). These three colors
are blended together inside a television tube to create the colors
displayed on the screen. The same concept is applied to computer
monitors.
There are three mandatory arguments.
The red mandatory agrument defines the red component of the
color and must be an integer number ranging from 0 to 255.
The green mandatory agrument defines the green component of the
color and must be an integer number ranging from 0 to 255.
The blue mandatory agrument defines the blue component of the
color and must be an integer number ranging from 0 to 255.
If the integer argument exceeds 255, it will be treated as 255. Note,
that there are 256*256*256 = 16,777,216 different color
permutations.
<% = RGB(0, 0, 0) %>
<% = RGB(94, 71, 177) %>
<% = RGB(255, 255, 255) %>
0
11618142
16777215