Handbook
Glossary
ryba
RYB colors
Next:
<ryba> ( red yellow blue alpha -- ryba )
Vocabulary
colors
.
ryb
Class description
The class of RYB (Red, Yellow, Blue) colors with an alpha channel. All slots store values in the interval
[0,1]
.
Definition
IN:
colors.ryb
TUPLE:
ryba
{
red
read-only
}
{
yellow
read-only
}
{
blue
read-only
}
{
alpha
read-only
}
;
Methods
USING:
accessors
colors
colors.ryb
colors.ryb.private
kernel
;
M:
ryba
>rgba
[
[
red>>
]
[
yellow>>
]
[
blue>>
]
tri
[
ryb>rgb
]
normalized
]
[
alpha>>
]
bi
<rgba>
;
USING:
colors.ryb
;
M:
ryba
>ryba
;
inline