Feature: toRgbRatio
lukasoppermann opened this issue · 0 comments
lukasoppermann commented
Hey,
this is a really awesome package. I was wondering if there is a way to get an rgb ratio (values from 0 - 1) with alpha from a color.
tinycolor('#23236780').toRgbRatio() // {r: ..., g: ..., b: ..., a: ....}
Could this be added, or is this already possible?