s2maps-gpu - v0.18.0
Preparing search index...
index
colorParser
Function colorParser
colorParser
(
input
:
string
)
:
ColorDefinition
There are four types of strings to parse:
color names: 'red', 'black', etc
Hex: #ededed
lastly type encodings:
rgb(255, 255, 255)
rgba(255, 255, 255, 255)
hsv(180, 0.9, 0.7843137254901961)
hsva(180, 0.9, 0.7843137254901961, 1)
Parameters
input
:
string
the string to parse
Returns
ColorDefinition
the parsed color
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
s2maps-gpu - v0.18.0
Loading...
There are four types of strings to parse: