colors vocabulary
Factor handbook ยป Vocabulary index


Documentation
Colors

Metadata
Tags:colors
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
no-such-color tuplename
parsed-color tuplestring value
rgba tuplered green blue alpha


Mixin classes
color


Parsing words
WordSyntax
COLOR:COLOR: string


Generic words
WordStack effect
>rgba( color -- rgba )


Ordinary words
WordStack effect
<rgba>( red green blue alpha -- rgba )
>rgba-components( object -- r g b a )
?named-color( name -- color/f )
color=( color1 color2 -- ? )
color>hex( color -- hex )
inverse-color( color -- color' )
named-color( name -- color )
named-colors( -- keys )
no-such-color( name -- * )
opaque?( color -- ? )
parse-color( str -- color )
transparent( -- value )


Class predicate words
WordStack effect
color?( object -- ? )
no-such-color?( object -- ? )
parsed-color?( object -- ? )
rgba?( object -- ? )


Files


Metadata files


Children from resource:basis
VocabularySummary
colors.cmykCMYK colors
colors.grayGrayscale colors
colors.hslHSL colors
colors.hsvHue-saturation-value colors
colors.hwbHWB colors
colors.labCIE 1976 LAB colors
colors.lchCIELCH colors
colors.luvCIE 1976 LUV colors
colors.mixMixing colors together
colors.prettyprint
colors.rybRYB colors
colors.xyyCIE 1931 xyY colors
colors.xyzCIE 1931 XYZ colors
colors.yiqYIQ colors
colors.yuvYUV colors


Children from resource:extra
VocabularySummary
colors.contrast
colors.distancesColor distance (or Color difference)
colors.flex-hex"Flex hex" colors


Children
VocabularySummary
colors.private