UI module

Color

constantextensionexperimentalsince 0.31.0Source

A colour with straight (not premultiplied) alpha, each channel 0 to 1.

Example↗
red: Color = .{ 1, 0, 0, 1 };
assert(red == rgb(255, 0, 0));
Color :: Vector4