@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:hslcolor a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "hslcolor" ;
    skos:prefLabel "HSL color"@en ;
    skos:definition "Color written as hue, saturation and lightness: a hue angle from 0 to 360 degrees and two percentages from 0% to 100%, separated by commas, either bare (0, 100%, 50%) or in the CSS functional notation hsl(0, 100%, 50%). The regexp accepts whole and decimal numbers (hsl(51.4285714286,50%,50%), as the color scales of Plotly charts write them), without the deg unit, an alpha channel or the space-separated syntax of CSS Color Level 4."@en ;
    skos:prefLabel "Цвет HSL"@ru ;
    skos:definition "Цвет, записанный тоном (0–360°), насыщенностью и светлотой в процентах."@ru ;
    skos:broader dt:color ;
    skos:example "hsl(0, 100%, 50%)" ;
    skos:example "120, 100%, 25%" ;
    skos:example "0, 0%, 100%" ;
    skos:example "hsl(51.4285714286,50%,50%)" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "categorical" ;
    mcr:regexp "^(?:hsl\\(\\s*(?:360(?:\\.0+)?|(?:3[0-5]\\d|[12]\\d\\d|[1-9]?\\d)(?:\\.\\d+)?)\\s*,\\s*(?:100(?:\\.0+)?|[1-9]?\\d(?:\\.\\d+)?)%\\s*,\\s*(?:100(?:\\.0+)?|[1-9]?\\d(?:\\.\\d+)?)%\\s*\\)|(?:360(?:\\.0+)?|(?:3[0-5]\\d|[12]\\d\\d|[1-9]?\\d)(?:\\.\\d+)?)\\s*,\\s*(?:100(?:\\.0+)?|[1-9]?\\d(?:\\.\\d+)?)%\\s*,\\s*(?:100(?:\\.0+)?|[1-9]?\\d(?:\\.\\d+)?)%)$" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/HSL_and_HSV> ;
    rdfs:seeAlso <https://www.w3.org/TR/css-color-4/#the-hsl-notation> ;
    rdfs:seeAlso <https://github.com/congy/AutoType/blob/master/data_release/hsl.txt> .
