Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
less
tree
functions
Module functions
Index
Functions
alpha
argb
average
blue
ceil
color
contrast
darken
desaturate
difference
e
escape
exclusion
fade
fadein
fadeout
floor
green
greyscale
hardlight
hsl
hsla
hsv
hsva
hue
iscolor
isem
iskeyword
isnumber
ispercentage
ispixel
isstring
isurl
lighten
lightness
luma
mix
multiply
negation
overlay
percentage
red
rgb
rgba
round
saturate
saturation
screen
shade
softlight
spin
tint
unit
Functions
alpha
(
color
:
Color
)
:
Dimension
Parameters
color:
Color
Returns
Dimension
argb
(
color
:
Color
)
:
Anonymous
Parameters
color:
Color
Returns
Anonymous
average
(
color1
:
Color
, color2
:
Color
)
:
Color
Parameters
color1:
Color
color2:
Color
Returns
Color
blue
(
color
:
Color
)
:
Dimension
Parameters
color:
Color
Returns
Dimension
ceil
(
n
:
number
)
:
number
Parameters
n:
number
Returns
number
ceil
(
n
:
Dimension
)
:
Dimension
Parameters
n:
Dimension
Returns
Dimension
color
(
n
:
Quoted
)
:
Color
Parameters
n:
Quoted
Returns
Color
contrast
(
color
:
Color
, dark
?:
Color
, light
?:
Color
, threshold
?:
IValuableNumber
)
:
Color
Parameters
color:
Color
dark?:
Color
optional
light?:
Color
optional
threshold?:
IValuableNumber
optional
Returns
Color
contrast
(
color
:
Color
, dark
?:
Color
, light
?:
Color
, threshold
?:
number
)
:
Color
Parameters
color:
Color
dark?:
Color
optional
light?:
Color
optional
threshold?:
number
optional
Returns
Color
darken
(
color
:
Color
, amount
:
IValuableNumber
)
:
Color
Parameters
color:
Color
amount:
IValuableNumber
Returns
Color
desaturate
(
color
:
Color
, amount
:
IValuableNumber
)
:
Color
Parameters
color:
Color
amount:
IValuableNumber
Returns
Color
difference
(
color1
:
Color
, color2
:
Color
)
:
Color
Parameters
color1:
Color
color2:
Color
Returns
Color
e
(
str
:
string
)
:
Anonymous
Parameters
str:
string
Returns
Anonymous
e
(
str
:
JavaScript
)
:
Anonymous
Parameters
str:
JavaScript
Returns
Anonymous
escape
(
str
:
IValuableString
)
:
Anonymous
Parameters
str:
IValuableString
Returns
Anonymous
exclusion
(
color1
:
Color
, color2
:
Color
)
:
Color
Parameters
color1:
Color
color2:
Color
Returns
Color
fade
(
color
:
Color
, amount
:
IValuableNumber
)
:
Color
Parameters
color:
Color
amount:
IValuableNumber
Returns
Color
fadein
(
color
:
Color
, amount
:
IValuableNumber
)
:
Color
Parameters
color:
Color
amount:
IValuableNumber
Returns
Color
fadeout
(
color
:
Color
, amount
:
IValuableNumber
)
:
Color
Parameters
color:
Color
amount:
IValuableNumber
Returns
Color
floor
(
n
:
number
)
:
number
Parameters
n:
number
Returns
number
floor
(
n
:
Dimension
)
:
Dimension
Parameters
n:
Dimension
Returns
Dimension
green
(
color
:
Color
)
:
Dimension
Parameters
color:
Color
Returns
Dimension
greyscale
(
color
:
Color
)
:
Color
Parameters
color:
Color
Returns
Color
hardlight
(
color1
:
Color
, color2
:
Color
)
:
Color
Parameters
color1:
Color
color2:
Color
Returns
Color
hsl
(
h
:
number
, s
?:
number
, l
?:
number
)
:
Color
Parameters
h:
number
s?:
number
optional
l?:
number
optional
Returns
Color
hsla
(
h
:
number
, s
?:
number
, l
?:
number
, a
?:
number
)
:
Color
Parameters
h:
number
s?:
number
optional
l?:
number
optional
a?:
number
optional
Returns
Color
hsv
(
h
:
number
, s
:
number
, v
:
number
)
:
Color
Parameters
h:
number
s:
number
v:
number
Returns
Color
hsva
(
h
:
number
, s
:
number
, v
:
number
, a
:
number
)
:
Color
Parameters
h:
number
s:
number
v:
number
a:
number
Returns
Color
hue
(
color
:
Color
)
:
Dimension
Parameters
color:
Color
Returns
Dimension
iscolor
(
n
:
any
)
:
Keyword
Parameters
n:
any
Returns
Keyword
isem
(
n
:
any
)
:
Keyword
Parameters
n:
any
Returns
Keyword
iskeyword
(
n
:
any
)
:
Keyword
Parameters
n:
any
Returns
Keyword
isnumber
(
n
:
any
)
:
Keyword
Parameters
n:
any
Returns
Keyword
ispercentage
(
n
:
any
)
:
Keyword
Parameters
n:
any
Returns
Keyword
ispixel
(
n
:
any
)
:
Keyword
Parameters
n:
any
Returns
Keyword
isstring
(
n
:
any
)
:
Keyword
Parameters
n:
any
Returns
Keyword
isurl
(
n
:
any
)
:
Keyword
Parameters
n:
any
Returns
Keyword
lighten
(
color
:
Color
, amount
:
IValuableNumber
)
:
Color
Parameters
color:
Color
amount:
IValuableNumber
Returns
Color
lightness
(
color
:
Color
)
:
Dimension
Parameters
color:
Color
Returns
Dimension
luma
(
color
:
Color
)
:
Dimension
Parameters
color:
Color
Returns
Dimension
mix
(
color1
:
Color
, color2
:
Color
, weight
:
Dimension
)
:
Color
Parameters
color1:
Color
color2:
Color
weight:
Dimension
Returns
Color
multiply
(
color1
:
Color
, color2
:
Color
)
:
Color
Parameters
color1:
Color
color2:
Color
Returns
Color
negation
(
color1
:
Color
, color2
:
Color
)
:
Color
Parameters
color1:
Color
color2:
Color
Returns
Color
overlay
(
color1
:
Color
, color2
:
Color
)
:
Color
Parameters
color1:
Color
color2:
Color
Returns
Color
percentage
(
n
:
IValuableNumber
)
:
Dimension
Parameters
n:
IValuableNumber
Returns
Dimension
red
(
color
:
Color
)
:
Dimension
Parameters
color:
Color
Returns
Dimension
rgb
(
r
:
number
, g
:
number
, b
:
number
)
:
Color
Parameters
r:
number
g:
number
b:
number
Returns
Color
rgba
(
r
:
number
, g
:
number
, b
:
number
, a
:
number
)
:
Color
Parameters
r:
number
g:
number
b:
number
a:
number
Returns
Color
round
(
n
:
Dimension
, f
?:
IValuableNumber
)
:
Dimension
Parameters
n:
Dimension
f?:
IValuableNumber
optional
Returns
Dimension
round
(
n
:
number
, f
?:
IValuableNumber
)
:
number
Parameters
n:
number
f?:
IValuableNumber
optional
Returns
number
saturate
(
color
:
Color
, amount
:
IValuableNumber
)
:
Color
Parameters
color:
Color
amount:
IValuableNumber
Returns
Color
saturation
(
color
:
Color
)
:
Dimension
Parameters
color:
Color
Returns
Dimension
screen
(
color1
:
Color
, color2
:
Color
)
:
Color
Parameters
color1:
Color
color2:
Color
Returns
Color
shade
(
color
:
Color
, amount
:
Dimension
)
:
Color
Parameters
color:
Color
amount:
Dimension
Returns
Color
softlight
(
color1
:
Color
, color2
:
Color
)
:
Color
Parameters
color1:
Color
color2:
Color
Returns
Color
spin
(
color
:
Color
, amount
:
IValuableNumber
)
:
Color
Parameters
color:
Color
amount:
IValuableNumber
Returns
Color
tint
(
color
:
Color
, amount
:
Dimension
)
:
Color
Parameters
color:
Color
amount:
Dimension
Returns
Color
unit
(
val
:
IValuableNumber
, unit
?:
ICSSable
)
:
Dimension
Parameters
val:
IValuableNumber
unit?:
ICSSable
optional
Returns
Dimension
Globals
less
less.tree
less.tree.functions
less.tree.mixin
alpha
argb
average
blue
ceil
color
contrast
darken
desaturate
difference
e
escape
exclusion
fade
fadein
fadeout
floor
green
greyscale
hardlight
hsl
hsla
hsv
hsva
hue
iscolor
isem
iskeyword
isnumber
ispercentage
ispixel
isstring
isurl
lighten
lightness
luma
mix
multiply
negation
overlay
percentage
red
rgb
rgba
round
saturate
saturation
screen
shade
softlight
spin
tint
unit