rgb
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.
Returns: color
Table 1.
Parameter | Type |
---|---|
r | integer |
g | integer |
b | integer |
Example
Query
PREFIX : <https://ddw-doccorp.linked.data.world/d/sparql-function-sample-queries/> PREFIX fn: <http://data.world/function/functions#> SELECT (fn:rgb(255, 0, 255) AS ?rgb) { }
Results