HSVColor Class

An immutable color defined by Hue, Saturation, and Value

see here for difference between HSL and HSV

Methods

Name Description
constructor(hue: number = 0, saturation: number = 0, value: number = 0): HSVColor    
adjusted(darkenColor: boolean, delta: number): HSVColor    
clone(hue?: number, saturation?: number, value?: number): HSVColor    
toColorDef(transparency: number = 0): ColorDef    
fromColorDef(val: ColorDef): HSVColor Static    

Properties

Name Type Description
h number Hue  
s number Saturation  
v number Value  

Defined in

Last Updated: 23 April, 2020