juliusl/elm-ui-hexcolor/1.0.0

Element.HexColor

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

CSS Color Helpers

rgbaCSSHex : String -> Color

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

rgbCSSHex : String -> Color

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