Parameter | Type |
---|---|
r | integer |
g | integer |
b | integer |
Returns: color
Example
query:
SELECT WITH_COLOR("dave", RGB(0, 0, 255)) as name
results:
name |
---|
dave |
A function taking three integer values representing red, green and blue color components, and returning a color. Each component should be an integer between 0 and 255.
Parameter | Type |
---|---|
r | integer |
g | integer |
b | integer |
query:
SELECT WITH_COLOR("dave", RGB(0, 0, 255)) as name
results:
name |
---|
dave |