@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:rgbcolor a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "rgbcolor" ;
    skos:prefLabel "RGB color triplet"@en ;
    skos:definition "Color written as its red, green and blue components: three integers from 0 to 255 separated by commas, either bare (220,220,220) or in the CSS functional notation rgb(220, 220, 220). Design tools, data exports and stylesheets use it; the hexadecimal form of the same color is hexcolor. The regexp does not cover percentages, an alpha channel or the space-separated syntax of CSS Color Level 4."@en ;
    skos:prefLabel "Цвет RGB"@ru ;
    skos:definition "Цвет, записанный тремя компонентами (красный, зелёный, синий) от 0 до 255."@ru ;
    skos:broader dt:color ;
    skos:example "220,220,220" ;
    skos:example "rgb(255, 99, 71)" ;
    skos:example "0, 0, 0" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "categorical" ;
    mcr:regexp "^(?:rgb\\(\\s*(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*\\)|(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\s*,\\s*(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d))$" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/RGB_color_model> ;
    rdfs:seeAlso <https://www.w3.org/TR/css-color-4/#rgb-functions> ;
    rdfs:seeAlso <https://github.com/congy/AutoType/blob/master/data_release/rgb.txt> .
