shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
hslaToHex
Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.color
HSLA to HEX
Params
- h*-Number|String|Object
The hue value between 0-360 an object representing h, s, l, (a) or a string representing the hsla(…) color
- s*-Number
The saturation value between 0-100|0-1
- l*-Number
The luminence value between 0-100|0-1
- a*-Number
The alpha value between 0-100|0-1
Return
- -String
The hex string
Example
import { hslaToHex } from '@blackbyte/sugar/color';
hslaToHex(10,20,30);Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space