Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
less
tree
Color
Class Color
Index
Constructor methods
constructor
Properties
alpha
rgb
Methods
compare
eval
operate
toARGB
toCSS
toHSL
Constructor methods
constructor
(
rgb
:
string
, a
:
number
)
:
Color
Parameters
rgb:
string
a:
number
Returns
Color
constructor
(
rgb
:
Array<number>
, a
:
number
)
:
Color
Parameters
rgb:
Array<number>
a:
number
Returns
Color
Properties
public
alpha
:
number
public
rgb
:
Array<number>
Methods
public
compare
(
x
:
Color
)
:
number
Parameters
x:
Color
Returns
number
public
eval
(
)
:
Color
Returns
Color
public
operate
(
op
:
Operation
, other
:
Color
)
:
Color
Parameters
op:
Operation
other:
Color
Returns
Color
public
operate
(
op
:
Operation
, other
:
IColorable
)
:
Color
Parameters
op:
Operation
other:
IColorable
Returns
Color
public
toARGB
(
)
:
string
Returns
string
public
toCSS
(
)
:
string
Returns
string
public
toHSL
(
)
:
HSL
Returns
HSL
Globals
less
less.tree
less.tree.functions
less.tree.mixin
False
True
colors
debugInfo
DebugInfo
DebugInfoFunction
HSL
HasDebugInfo
ICSSable
IColorable
IComparable
IEvalable
IInjectable
IOperable
IValuableNumber
IValuableString
RuleContainer
AbstractRuleset
Alpha
Anonymous
Assignment
Attribute
Call
Color
constructor
alpha
rgb
compare
eval
operate
toARGB
toCSS
toHSL
Combinator
Comment
Condition
Dimension
Directive
Element
Expression
Import
JavaScript
Keyword
Media
Operation
Paren
Quoted
Ratio
Rule
Ruleset
Selector
Shorthand
URL
UnicodeDescriptor
Value
Variable
find
jsify
operate