Lines Matching +full:s +full:- +full:color
6 * Static method of color calculation
11 const CANONICAL = "color-system";
14 * Return a color suitable for reading (that has a good ratio)
22 ->toHsl()
23 ->setSaturation(30)
24 ->setLightness(40)
25 ->toRgb()
26 ->toMinimumContrastRatioAgainstWhite();
28 …LogUtility::error("Error while calculating the primary text color. {$e->getMessage()}", self::CANO…
35 * Calculate a color for a text hover that has:
42 * Default Link Color
45 * * blue color of Bootstrap #0d6efd s: 98, l: 52
46 * * blue color of twitter #1d9bf0 s: 88, l: 53
47 * * reddit gray with s: 16, l : 31
48 * * the text is s: 11, l: 15
50 * the color of the text
56 ->toHsl()
57 ->setSaturation(88)
58 ->setLightness(53)
59 ->toRgb()
60 ->toMinimumContrastRatioAgainstWhite();
62 …LogUtility::error("Error while calculating the color text hover color. {$e->getMessage()}", self::…
69 * @throws ExceptionCompile when the color could not be calculated
74 ->toHsl()
75 ->setLightness(98)
76 ->toRgb()
77 ->toMinimumContrastRatioAgainstWhite(1.1, 1);