Searched refs:lightness (Results 1 – 1 of 1) sorted by relevance
101 RGBA32 makeRGBAFromHSLA(double hue, double saturation, double lightness, double alpha) in makeRGBAFromHSLA() argument106 int greyValue = static_cast<int>(lightness * scaleFactor); in makeRGBAFromHSLA()110 …double temp2 = lightness < 0.5 ? lightness * (1.0 + saturation) : lightness + saturation - lightne… in makeRGBAFromHSLA()111 double temp1 = 2.0 * lightness - temp2; in makeRGBAFromHSLA()324 void Color::getHSL(double& hue, double& saturation, double& lightness) const in getHSL()350 lightness = 0.5 * (max + min); in getHSL()353 else if (lightness <= 0.5) in getHSL()