weekdaze-0.0.0.2: A school-timetable problem-solver.

Safe HaskellSafe
LanguageHaskell2010

WeekDaze.Colour.HTMLColourCode

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Exports some colour-manipulation functions for HTML.
Synopsis

Types

Type-synonyms

type HTMLColourCode = String Source #

The representation in HTML of 24-bit colour.

Constants

htmlColourCodePrefix :: Char Source #

The prefix used when specifying an HTML colour-code.

Functions

deriveComplementaryHTMLColourCode :: HTMLColourCode -> HTMLColourCode Source #

Return the complement of the specified HTML colour-code.

generateHTMLColourCodeFrom :: String -> HTMLColourCode Source #

Generate an arbitrary HTML colour-code using a hash of the specified string.

readHex :: (Eq i, Num i) => String -> i Source #

Interpret the specified string as hexadecimal.