Preparing search index...
The search index is not available
@kurkle/color - v0.3.0
@kurkle/color - v0.3.0
rotate
Function rotate
rotate
(
v
:
RGBA
, deg
:
number
)
:
void
Rotate the
v
color by
deg
degrees
Parameters
v:
RGBA
the color
deg:
number
degrees to rotate
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Modules
@kurkle/color -
v0.3.0
Color
RGBA
b2n
b2p
default
hex
Parse
hex
String
hsl2rgb
hsl
String
hsv2rgb
hue
Parse
hwb2rgb
n2b
n2p
name
Parse
p2b
rgb2hsl
rgb
Parse
rgb
String
rotate
round
Generated using
TypeDoc
Rotate the
v
color bydeg
degrees