colors vocabulary
Factor handbook > Vocabulary index


Documentation
Colors

Meta-data
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
color tuple
rgba colorred green blue alpha


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


Ordinary words
WordStack effect
<rgba>( red green blue alpha -- rgba )
>rgba-components( object -- r g b a )
inverse-color( color -- color' )
opaque?( color -- ? )
transparent( -- value )


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


Files


Children from resource:basis
VocabularySummary
colors.constantsA utility to look up colors in the X11 rgb.txt color database
colors.grayGrayscale colors
colors.hexHexadecimal colors
colors.hsvHue-saturation-value colors
colors.mixMixing colors together


Children from resource:extra
VocabularySummary
colors.cmykCMYK colors
colors.distancesColor distance (or Color difference)
colors.flex-hex"Flex hex" colors
colors.hslHSL colors
colors.labCIE 1976 LAB colors
colors.lchCIELCH colors
colors.luvCIE 1976 LUV colors
colors.rybRYB colors
colors.xyyCIE 1931 xyY colors
colors.xyzCIE 1931 XYZ colors
colors.yiqYIQ colors
colors.yuvYUV colors