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.
Parameter | Type |
---|---|
| integer |
| integer |
| integer |
Returns: color
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:
