OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:HSL
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/ui/gfx/
color_utils.h
16
// Represents an
HSL
color.
17
struct
HSL
{
29
UI_EXPORT void SkColorToHSL(SkColor c,
HSL
*
hsl
);
30
UI_EXPORT SkColor HSLToSkColor(const
HSL
&
hsl
, SkAlpha alpha);
32
//
HSL
-Shift an SkColor. The shift values are in the range of 0-1, with the
46
UI_EXPORT SkColor HSLShift(SkColor color, const
HSL
& shift);
78
// has a luma value close to the midpoint (0.5 in the
HSL
representation).
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
Color.js
57
// Simple - #hex, rgb(), nickname,
hsl
()
59
var simple = /^(?:#([0-9a-f]{3,6})|rgb\(([^)]+)\)|(\w+)|
hsl
\(([^)]+)\))$/i;
96
if (match[4]) { //
hsl
102
return new WebInspector.Color(rgba, WebInspector.Color.Format.
HSL
, text);
294
case WebInspector.Color.Format.
HSL
:
297
var
hsl
= this.hsla();
298
return String.sprintf("
hsl
(%d, %d%, %d%)", Math.round(
hsl
[0] * 360), Math.round(
hsl
[1] * 100), Math.round(
hsl
[2] * 100))
[
all
...]
Completed in 47 milliseconds