shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
hexToRgba
Type:Function
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.color
Hex to RGBA
Params
- hex*-string
The hex string to convert
Return
- -object
The rgba object representation with a “toString” method
Example
import { hexToRgba } from '@blackbyte/sugar/color';
hexToRgba('#ff00ff');Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space