Struct CieLabD50

CIE 1976 L*a*b* coordinates referenced to D50.

struct CieLabD50(T)
  
if (is(T == float) || is(T == double));

Fields

NameTypeDescription
a TCIE 1976 opponent coordinate a*.
b TCIE 1976 opponent coordinate b*.
l TCIE 1976 lightness coordinate L*.

Aliases

NameDescription
Scalar Scalar component type.

Example

const lab = CieLabD50d(50.0, 2.5, -4.0);

assert(lab.l == 50.0);
assert(lab.a == 2.5);
assert(lab.b == -4.0);