Short and sweet package that converts a hex color and an opacity value and converts it to an 8 digit hex number
Hexop
Simple package that converts a hex color (e.g. #f0f0f0
) and an opacity percentage and converts it to an 8 digit hex value (color + opacity).
HomePage
https://github.com/tylerFowler/hexop#readme
Repository
git+https://github.com/tylerFowler/hexop.git
来源:JavaScript中文网 ,转载请注明来源 https://www.javascriptcn.com/post/6005728a81e8991b448e8c1a