Functions4 public, 0 private
Caulcates the resulting color after combining the provided colors with the specified opacity. | |||
public | struct | getOpacityColor | |
required | any | color1 | |
required | any | color2 | |
numeric | opacity | 0.5 | |
public | boolean | isCssColor | |
required | any | color | |
Converts the provided value to a color represented as hex. The result does not include the preceeding pound sign. | |||
public | string | toHexColor | |
required | any | value | |
struct | OPTIONS | {} | |
option | boolean | convertAlpha | true |
Converts the provided value to a color divided into RGB. | |||
public | struct | toRGBcolor | |
required | any | value | |
struct | OPTIONS | {} | |
option | boolean | convertAlpha | true |