miso
Copyright(C) 2016-2025 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <code@dmj.io>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Style.Color

Description

 
Synopsis

Types

data Color Source #

Instances

Instances details
Show Color Source # 
Instance details

Defined in Miso.Style.Color

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

Eq Color Source # 
Instance details

Defined in Miso.Style.Color

Methods

(==) :: Color -> Color -> Bool #

(/=) :: Color -> Color -> Bool #

Smart constructor

rgba :: Int -> Int -> Int -> Double -> Color Source #

hsl :: Int -> Int -> Int -> Color Source #

Render

Colors