rgb

Help Contents Color management rgb
Color management rgb_

rgb :x :y :z
(rgb :x :y :z :alpha)


returns an object containing the three numbers :x, :y and :z, and optionally the alpha level.

x, y, z and alpha should be integers in the range 0..255.

x: red,

y: green,

z: blue component of the color.

alpha: 255 means solid, 128 half transparent, 0 completely transparent.

alpha actually is saved as "#1", not as "alpha", because its formal name is undefined.

Definition:

to rgb :x :y :z
end

Examples:

References:

Color management rgb_