juliusl / elm-ui-hexcolor / Element.HexColor

This module just adds two helper functions to convert CSS hex strings into a elm-ui Color

CSS Color Helpers

rgbaCSSHex : String -> Element.Color

Convert a CSS Hex color into an elm-ui.Element.Color with rgba255 rgbaCSSHex "#7f11e088"

rgbCSSHex : String -> Element.Color

Convert a CSS Hex color into an elm-ui.Element.Color with rgb255 rgbCSSHex "#7f11E0"