Methods
(static) RGBToHex(r, g, b, a) → {string}
converts RGBA-values to kml-colorcode.
Parameters:
Name | Type | Description |
---|---|---|
r |
int | Value for red |
g |
int | Value for green |
b |
int | Value for blue |
a |
int | Value for alpha |
Returns:
kml-colorcode
- Type
- string