Copyright | (c) Alexey Kuleshevich 2021 |
---|---|
License | BSD3 |
Maintainer | Alexey Kuleshevich <lehins@yandex.ru> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data SVG (n :: Symbol) = SVG
- allSVGColors :: [(String, Color (SRGB 'NonLinear) Word8)]
- aliceBlue :: Color (SRGB 'NonLinear) Word8
- antiqueWhite :: Color (SRGB 'NonLinear) Word8
- aqua :: Color (SRGB 'NonLinear) Word8
- aquaMarine :: Color (SRGB 'NonLinear) Word8
- azure :: Color (SRGB 'NonLinear) Word8
- beige :: Color (SRGB 'NonLinear) Word8
- bisque :: Color (SRGB 'NonLinear) Word8
- black :: Color (SRGB 'NonLinear) Word8
- blanchedAlmond :: Color (SRGB 'NonLinear) Word8
- blue :: Color (SRGB 'NonLinear) Word8
- blueViolet :: Color (SRGB 'NonLinear) Word8
- brown :: Color (SRGB 'NonLinear) Word8
- burlyWood :: Color (SRGB 'NonLinear) Word8
- cadetBlue :: Color (SRGB 'NonLinear) Word8
- chartreuse :: Color (SRGB 'NonLinear) Word8
- chocolate :: Color (SRGB 'NonLinear) Word8
- coral :: Color (SRGB 'NonLinear) Word8
- cornFlowerBlue :: Color (SRGB 'NonLinear) Word8
- cornSilk :: Color (SRGB 'NonLinear) Word8
- crimson :: Color (SRGB 'NonLinear) Word8
- cyan :: Color (SRGB 'NonLinear) Word8
- darkBlue :: Color (SRGB 'NonLinear) Word8
- darkCyan :: Color (SRGB 'NonLinear) Word8
- darkGoldenRod :: Color (SRGB 'NonLinear) Word8
- darkGray :: Color (SRGB 'NonLinear) Word8
- darkGreen :: Color (SRGB 'NonLinear) Word8
- darkGrey :: Color (SRGB 'NonLinear) Word8
- darkKhaki :: Color (SRGB 'NonLinear) Word8
- darkMagenta :: Color (SRGB 'NonLinear) Word8
- darkOliveGreen :: Color (SRGB 'NonLinear) Word8
- darkOrange :: Color (SRGB 'NonLinear) Word8
- darkOrchid :: Color (SRGB 'NonLinear) Word8
- darkRed :: Color (SRGB 'NonLinear) Word8
- darkSalmon :: Color (SRGB 'NonLinear) Word8
- darkSeaGreen :: Color (SRGB 'NonLinear) Word8
- darkSlateBlue :: Color (SRGB 'NonLinear) Word8
- darkSlateGray :: Color (SRGB 'NonLinear) Word8
- darkSlateGrey :: Color (SRGB 'NonLinear) Word8
- darkTurquoise :: Color (SRGB 'NonLinear) Word8
- darkViolet :: Color (SRGB 'NonLinear) Word8
- deepPink :: Color (SRGB 'NonLinear) Word8
- deepSkyBlue :: Color (SRGB 'NonLinear) Word8
- dimGray :: Color (SRGB 'NonLinear) Word8
- dimGrey :: Color (SRGB 'NonLinear) Word8
- dodgerBlue :: Color (SRGB 'NonLinear) Word8
- fireBrick :: Color (SRGB 'NonLinear) Word8
- floralWhite :: Color (SRGB 'NonLinear) Word8
- forestGreen :: Color (SRGB 'NonLinear) Word8
- fuchsia :: Color (SRGB 'NonLinear) Word8
- gainsboro :: Color (SRGB 'NonLinear) Word8
- ghostWhite :: Color (SRGB 'NonLinear) Word8
- gold :: Color (SRGB 'NonLinear) Word8
- goldenRod :: Color (SRGB 'NonLinear) Word8
- gray :: Color (SRGB 'NonLinear) Word8
- grey :: Color (SRGB 'NonLinear) Word8
- green :: Color (SRGB 'NonLinear) Word8
- greenYellow :: Color (SRGB 'NonLinear) Word8
- honeydew :: Color (SRGB 'NonLinear) Word8
- hotPink :: Color (SRGB 'NonLinear) Word8
- indianRed :: Color (SRGB 'NonLinear) Word8
- indigo :: Color (SRGB 'NonLinear) Word8
- ivory :: Color (SRGB 'NonLinear) Word8
- khaki :: Color (SRGB 'NonLinear) Word8
- lavender :: Color (SRGB 'NonLinear) Word8
- lavenderBlush :: Color (SRGB 'NonLinear) Word8
- lawnGreen :: Color (SRGB 'NonLinear) Word8
- lemonChiffon :: Color (SRGB 'NonLinear) Word8
- lightBlue :: Color (SRGB 'NonLinear) Word8
- lightCoral :: Color (SRGB 'NonLinear) Word8
- lightCyan :: Color (SRGB 'NonLinear) Word8
- lightGoldenRodYellow :: Color (SRGB 'NonLinear) Word8
- lightGray :: Color (SRGB 'NonLinear) Word8
- lightGreen :: Color (SRGB 'NonLinear) Word8
- lightGrey :: Color (SRGB 'NonLinear) Word8
- lightPink :: Color (SRGB 'NonLinear) Word8
- lightSalmon :: Color (SRGB 'NonLinear) Word8
- lightSeaGreen :: Color (SRGB 'NonLinear) Word8
- lightSkyBlue :: Color (SRGB 'NonLinear) Word8
- lightSlateGray :: Color (SRGB 'NonLinear) Word8
- lightSlateGrey :: Color (SRGB 'NonLinear) Word8
- lightSteelBlue :: Color (SRGB 'NonLinear) Word8
- lightYellow :: Color (SRGB 'NonLinear) Word8
- lime :: Color (SRGB 'NonLinear) Word8
- limeGreen :: Color (SRGB 'NonLinear) Word8
- linen :: Color (SRGB 'NonLinear) Word8
- magenta :: Color (SRGB 'NonLinear) Word8
- maroon :: Color (SRGB 'NonLinear) Word8
- mediumAquaMarine :: Color (SRGB 'NonLinear) Word8
- mediumBlue :: Color (SRGB 'NonLinear) Word8
- mediumOrchid :: Color (SRGB 'NonLinear) Word8
- mediumPurple :: Color (SRGB 'NonLinear) Word8
- mediumSeaGreen :: Color (SRGB 'NonLinear) Word8
- mediumSlateBlue :: Color (SRGB 'NonLinear) Word8
- mediumSpringGreen :: Color (SRGB 'NonLinear) Word8
- mediumTurquoise :: Color (SRGB 'NonLinear) Word8
- mediumVioletRed :: Color (SRGB 'NonLinear) Word8
- midnightBlue :: Color (SRGB 'NonLinear) Word8
- mintCream :: Color (SRGB 'NonLinear) Word8
- mistyRose :: Color (SRGB 'NonLinear) Word8
- moccasin :: Color (SRGB 'NonLinear) Word8
- navajoWhite :: Color (SRGB 'NonLinear) Word8
- navy :: Color (SRGB 'NonLinear) Word8
- oldLace :: Color (SRGB 'NonLinear) Word8
- olive :: Color (SRGB 'NonLinear) Word8
- oliveDrab :: Color (SRGB 'NonLinear) Word8
- orange :: Color (SRGB 'NonLinear) Word8
- orangeRed :: Color (SRGB 'NonLinear) Word8
- orchid :: Color (SRGB 'NonLinear) Word8
- paleGoldenRod :: Color (SRGB 'NonLinear) Word8
- paleGreen :: Color (SRGB 'NonLinear) Word8
- paleTurquoise :: Color (SRGB 'NonLinear) Word8
- paleVioletRed :: Color (SRGB 'NonLinear) Word8
- papayaWhip :: Color (SRGB 'NonLinear) Word8
- peachPuff :: Color (SRGB 'NonLinear) Word8
- peru :: Color (SRGB 'NonLinear) Word8
- pink :: Color (SRGB 'NonLinear) Word8
- plum :: Color (SRGB 'NonLinear) Word8
- powderBlue :: Color (SRGB 'NonLinear) Word8
- purple :: Color (SRGB 'NonLinear) Word8
- red :: Color (SRGB 'NonLinear) Word8
- rosyBrown :: Color (SRGB 'NonLinear) Word8
- royalBlue :: Color (SRGB 'NonLinear) Word8
- saddleBrown :: Color (SRGB 'NonLinear) Word8
- salmon :: Color (SRGB 'NonLinear) Word8
- sandyBrown :: Color (SRGB 'NonLinear) Word8
- seaGreen :: Color (SRGB 'NonLinear) Word8
- seashell :: Color (SRGB 'NonLinear) Word8
- sienna :: Color (SRGB 'NonLinear) Word8
- silver :: Color (SRGB 'NonLinear) Word8
- skyBlue :: Color (SRGB 'NonLinear) Word8
- slateBlue :: Color (SRGB 'NonLinear) Word8
- slateGray :: Color (SRGB 'NonLinear) Word8
- slateGrey :: Color (SRGB 'NonLinear) Word8
- snow :: Color (SRGB 'NonLinear) Word8
- springGreen :: Color (SRGB 'NonLinear) Word8
- steelBlue :: Color (SRGB 'NonLinear) Word8
- tan :: Color (SRGB 'NonLinear) Word8
- teal :: Color (SRGB 'NonLinear) Word8
- thistle :: Color (SRGB 'NonLinear) Word8
- tomato :: Color (SRGB 'NonLinear) Word8
- turquoise :: Color (SRGB 'NonLinear) Word8
- violet :: Color (SRGB 'NonLinear) Word8
- wheat :: Color (SRGB 'NonLinear) Word8
- white :: Color (SRGB 'NonLinear) Word8
- whiteSmoke :: Color (SRGB 'NonLinear) Word8
- yellow :: Color (SRGB 'NonLinear) Word8
- yellowGreen :: Color (SRGB 'NonLinear) Word8
Documentation
data SVG (n :: Symbol) Source #
Get a color value by specifying its SVG standard name at the type level:
>>>
import Graphics.Color.Standard
>>>
import Graphics.Color.Space.CIE1976.LAB
>>>
import Graphics.Color.Illuminant.CIE1931
>>>
color (SVG :: SVG "aqua") :: Color (LAB 'D65) Float
<LAB CIE1931 'D65:(91.11637000,-48.08154700,-14.12457300)>
Instances
allSVGColors :: [(String, Color (SRGB 'NonLinear) Word8)] Source #
Source: https://www.w3.org/TR/SVG11/types.html#ColorKeywords
Since: 0.3.3
aliceBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
aliceblue = rgb(240, 248, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = aliceBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/AliceBlue.png" img
Since: 0.3.3
antiqueWhite :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
antiquewhite = rgb(250, 235, 215)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = antiqueWhite
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/AntiqueWhite.png" img
Since: 0.3.3
aqua :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
aqua = rgb(0, 255, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = aqua
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Aqua.png" img
Since: 0.3.3
aquaMarine :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
aquamarine = rgb(127, 255, 212)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = aquaMarine
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/AquaMarine.png" img
Since: 0.3.3
azure :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
azure = rgb(240, 255, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = azure
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Azure.png" img
Since: 0.3.3
beige :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
beige = rgb(245, 245, 220)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = beige
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Beige.png" img
Since: 0.3.3
bisque :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
bisque = rgb(255, 228, 196)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = bisque
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Bisque.png" img
Since: 0.3.3
black :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
black = rgb(0, 0, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = black
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Black.png" img
Since: 0.3.3
blanchedAlmond :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
blanchedalmond = rgb(255, 235, 205)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = blanchedAlmond
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/BlanchedAlmond.png" img
Since: 0.3.3
blue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
blue = rgb(0, 0, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = blue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Blue.png" img
Since: 0.3.3
blueViolet :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
blueviolet = rgb(138, 43, 226)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = blueViolet
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/BlueViolet.png" img
Since: 0.3.3
brown :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
brown = rgb(165, 42, 42)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = brown
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Brown.png" img
Since: 0.3.3
burlyWood :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
burlywood = rgb(222, 184, 135)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = burlyWood
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/BurlyWood.png" img
Since: 0.3.3
cadetBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
cadetblue = rgb(95, 158, 160)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = cadetBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/CadetBlue.png" img
Since: 0.3.3
chartreuse :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
chartreuse = rgb(127, 255, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = chartreuse
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Chartreuse.png" img
Since: 0.3.3
chocolate :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
chocolate = rgb(210, 105, 30)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = chocolate
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Chocolate.png" img
Since: 0.3.3
coral :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
coral = rgb(255, 127, 80)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = coral
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Coral.png" img
Since: 0.3.3
cornFlowerBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
cornflowerblue = rgb(100, 149, 237)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = cornFlowerBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/CornFlowerBlue.png" img
Since: 0.3.3
cornSilk :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
cornsilk = rgb(255, 248, 220)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = cornSilk
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/CornSilk.png" img
Since: 0.3.3
crimson :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
crimson = rgb(220, 20, 60)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = crimson
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Crimson.png" img
Since: 0.3.3
cyan :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
cyan = rgb(0, 255, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = cyan
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Cyan.png" img
Since: 0.3.3
darkBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkblue = rgb(0, 0, 139)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkBlue.png" img
Since: 0.3.3
darkCyan :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkcyan = rgb(0, 139, 139)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkCyan
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkCyan.png" img
Since: 0.3.3
darkGoldenRod :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkgoldenrod = rgb(184, 134, 11)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkGoldenRod
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkGoldenRod.png" img
Since: 0.3.3
darkGray :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkgray = rgb(169, 169, 169)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkGray
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkGray.png" img
Since: 0.3.3
darkGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkgreen = rgb(0, 100, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkGreen.png" img
Since: 0.3.3
darkGrey :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkgrey = rgb(169, 169, 169)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkGrey
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkGrey.png" img
Since: 0.3.3
darkKhaki :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkkhaki = rgb(189, 183, 107)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkKhaki
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkKhaki.png" img
Since: 0.3.3
darkMagenta :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkmagenta = rgb(139, 0, 139)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkMagenta
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkMagenta.png" img
Since: 0.3.3
darkOliveGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkolivegreen = rgb(85, 107, 47)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkOliveGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkOliveGreen.png" img
Since: 0.3.3
darkOrange :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkorange = rgb(255, 140, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkOrange
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkOrange.png" img
Since: 0.3.3
darkOrchid :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkorchid = rgb(153, 50, 204)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkOrchid
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkOrchid.png" img
Since: 0.3.3
darkRed :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkred = rgb(139, 0, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkRed
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkRed.png" img
Since: 0.3.3
darkSalmon :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darksalmon = rgb(233, 150, 122)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkSalmon
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkSalmon.png" img
Since: 0.3.3
darkSeaGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkseagreen = rgb(143, 188, 143)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkSeaGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkSeaGreen.png" img
Since: 0.3.3
darkSlateBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkslateblue = rgb(72, 61, 139)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkSlateBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkSlateBlue.png" img
Since: 0.3.3
darkSlateGray :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkslategray = rgb(47, 79, 79)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkSlateGray
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkSlateGray.png" img
Since: 0.3.3
darkSlateGrey :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkslategrey = rgb(47, 79, 79)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkSlateGrey
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkSlateGrey.png" img
Since: 0.3.3
darkTurquoise :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkturquoise = rgb(0, 206, 209)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkTurquoise
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkTurquoise.png" img
Since: 0.3.3
darkViolet :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
darkviolet = rgb(148, 0, 211)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = darkViolet
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DarkViolet.png" img
Since: 0.3.3
deepPink :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
deeppink = rgb(255, 20, 147)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = deepPink
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DeepPink.png" img
Since: 0.3.3
deepSkyBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
deepskyblue = rgb(0, 191, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = deepSkyBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DeepSkyBlue.png" img
Since: 0.3.3
dimGray :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
dimgray = rgb(105, 105, 105)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = dimGray
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DimGray.png" img
Since: 0.3.3
dimGrey :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
dimgrey = rgb(105, 105, 105)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = dimGrey
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DimGrey.png" img
Since: 0.3.3
dodgerBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
dodgerblue = rgb(30, 144, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = dodgerBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/DodgerBlue.png" img
Since: 0.3.3
fireBrick :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
firebrick = rgb(178, 34, 34)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = fireBrick
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/FireBrick.png" img
Since: 0.3.3
floralWhite :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
floralwhite = rgb(255, 250, 240)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = floralWhite
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/FloralWhite.png" img
Since: 0.3.3
forestGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
forestgreen = rgb(34, 139, 34)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = forestGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/ForestGreen.png" img
Since: 0.3.3
fuchsia :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
fuchsia = rgb(255, 0, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = fuchsia
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Fuchsia.png" img
Since: 0.3.3
gainsboro :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
gainsboro = rgb(220, 220, 220)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = gainsboro
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Gainsboro.png" img
Since: 0.3.3
ghostWhite :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
ghostwhite = rgb(248, 248, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = ghostWhite
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/GhostWhite.png" img
Since: 0.3.3
gold :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
gold = rgb(255, 215, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = gold
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Gold.png" img
Since: 0.3.3
goldenRod :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
goldenrod = rgb(218, 165, 32)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = goldenRod
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/GoldenRod.png" img
Since: 0.3.3
gray :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
gray = rgb(128, 128, 128)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = gray
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Gray.png" img
Since: 0.3.3
grey :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
grey = rgb(128, 128, 128)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = grey
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Grey.png" img
Since: 0.3.3
green :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
green = rgb(0, 128, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = green
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Green.png" img
Since: 0.3.3
greenYellow :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
greenyellow = rgb(173, 255, 47)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = greenYellow
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/GreenYellow.png" img
Since: 0.3.3
honeydew :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
honeydew = rgb(240, 255, 240)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = honeydew
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Honeydew.png" img
Since: 0.3.3
hotPink :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
hotpink = rgb(255, 105, 180)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = hotPink
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/HotPink.png" img
Since: 0.3.3
indianRed :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
indianred = rgb(205, 92, 92)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = indianRed
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/IndianRed.png" img
Since: 0.3.3
indigo :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
indigo = rgb(75, 0, 130)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = indigo
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Indigo.png" img
Since: 0.3.3
ivory :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
ivory = rgb(255, 255, 240)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = ivory
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Ivory.png" img
Since: 0.3.3
khaki :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
khaki = rgb(240, 230, 140)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = khaki
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Khaki.png" img
Since: 0.3.3
lavender :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lavender = rgb(230, 230, 250)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lavender
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Lavender.png" img
Since: 0.3.3
lavenderBlush :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lavenderblush = rgb(255, 240, 245)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lavenderBlush
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LavenderBlush.png" img
Since: 0.3.3
lawnGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lawngreen = rgb(124, 252, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lawnGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LawnGreen.png" img
Since: 0.3.3
lemonChiffon :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lemonchiffon = rgb(255, 250, 205)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lemonChiffon
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LemonChiffon.png" img
Since: 0.3.3
lightBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightblue = rgb(173, 216, 230)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightBlue.png" img
Since: 0.3.3
lightCoral :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightcoral = rgb(240, 128, 128)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightCoral
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightCoral.png" img
Since: 0.3.3
lightCyan :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightcyan = rgb(224, 255, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightCyan
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightCyan.png" img
Since: 0.3.3
lightGoldenRodYellow :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightgoldenrodyellow = rgb(250, 250, 210)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightGoldenRodYellow
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightGoldenRodYellow.png" img
Since: 0.3.3
lightGray :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightgray = rgb(211, 211, 211)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightGray
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightGray.png" img
Since: 0.3.3
lightGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightgreen = rgb(144, 238, 144)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightGreen.png" img
Since: 0.3.3
lightGrey :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightgrey = rgb(211, 211, 211)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightGrey
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightGrey.png" img
Since: 0.3.3
lightPink :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightpink = rgb(255, 182, 193)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightPink
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightPink.png" img
Since: 0.3.3
lightSalmon :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightsalmon = rgb(255, 160, 122)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightSalmon
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightSalmon.png" img
Since: 0.3.3
lightSeaGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightseagreen = rgb(32, 178, 170)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightSeaGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightSeaGreen.png" img
Since: 0.3.3
lightSkyBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightskyblue = rgb(135, 206, 250)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightSkyBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightSkyBlue.png" img
Since: 0.3.3
lightSlateGray :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightslategray = rgb(119, 136, 153)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightSlateGray
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightSlateGray.png" img
Since: 0.3.3
lightSlateGrey :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightslategrey = rgb(119, 136, 153)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightSlateGrey
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightSlateGrey.png" img
Since: 0.3.3
lightSteelBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightsteelblue = rgb(176, 196, 222)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightSteelBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightSteelBlue.png" img
Since: 0.3.3
lightYellow :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lightyellow = rgb(255, 255, 224)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lightYellow
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LightYellow.png" img
Since: 0.3.3
lime :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
lime = rgb(0, 255, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = lime
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Lime.png" img
Since: 0.3.3
limeGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
limegreen = rgb(50, 205, 50)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = limeGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/LimeGreen.png" img
Since: 0.3.3
linen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
linen = rgb(250, 240, 230)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = linen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Linen.png" img
Since: 0.3.3
magenta :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
magenta = rgb(255, 0, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = magenta
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Magenta.png" img
Since: 0.3.3
maroon :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
maroon = rgb(128, 0, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = maroon
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Maroon.png" img
Since: 0.3.3
mediumAquaMarine :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
mediumaquamarine = rgb(102, 205, 170)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = mediumAquaMarine
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MediumAquaMarine.png" img
Since: 0.3.3
mediumBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
mediumblue = rgb(0, 0, 205)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = mediumBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MediumBlue.png" img
Since: 0.3.3
mediumOrchid :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
mediumorchid = rgb(186, 85, 211)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = mediumOrchid
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MediumOrchid.png" img
Since: 0.3.3
mediumPurple :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
mediumpurple = rgb(147, 112, 219)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = mediumPurple
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MediumPurple.png" img
Since: 0.3.3
mediumSeaGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
mediumseagreen = rgb(60, 179, 113)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = mediumSeaGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MediumSeaGreen.png" img
Since: 0.3.3
mediumSlateBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
mediumslateblue = rgb(123, 104, 238)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = mediumSlateBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MediumSlateBlue.png" img
Since: 0.3.3
mediumSpringGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
mediumspringgreen = rgb(0, 250, 154)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = mediumSpringGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MediumSpringGreen.png" img
Since: 0.3.3
mediumTurquoise :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
mediumturquoise = rgb(72, 209, 204)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = mediumTurquoise
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MediumTurquoise.png" img
Since: 0.3.3
mediumVioletRed :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
mediumvioletred = rgb(199, 21, 133)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = mediumVioletRed
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MediumVioletRed.png" img
Since: 0.3.3
midnightBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
midnightblue = rgb(25, 25, 112)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = midnightBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MidnightBlue.png" img
Since: 0.3.3
mintCream :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
mintcream = rgb(245, 255, 250)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = mintCream
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MintCream.png" img
Since: 0.3.3
mistyRose :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
mistyrose = rgb(255, 228, 225)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = mistyRose
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/MistyRose.png" img
Since: 0.3.3
moccasin :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
moccasin = rgb(255, 228, 181)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = moccasin
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Moccasin.png" img
Since: 0.3.3
navajoWhite :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
navajowhite = rgb(255, 222, 173)
Example
Since: 0.3.3
navy :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
navy = rgb(0, 0, 128)
Example
Since: 0.3.3
oldLace :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
oldlace = rgb(253, 245, 230)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = oldLace
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/OldLace.png" img
Since: 0.3.3
olive :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
olive = rgb(128, 128, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = olive
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Olive.png" img
Since: 0.3.3
oliveDrab :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
olivedrab = rgb(107, 142, 35)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = oliveDrab
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/OliveDrab.png" img
Since: 0.3.3
orange :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
orange = rgb(255, 165, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = orange
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Orange.png" img
Since: 0.3.3
orangeRed :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
orangered = rgb(255, 69, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = orangeRed
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/OrangeRed.png" img
Since: 0.3.3
orchid :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
orchid = rgb(218, 112, 214)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = orchid
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Orchid.png" img
Since: 0.3.3
paleGoldenRod :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
palegoldenrod = rgb(238, 232, 170)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = paleGoldenRod
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/PaleGoldenRod.png" img
Since: 0.3.3
paleGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
palegreen = rgb(152, 251, 152)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = paleGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/PaleGreen.png" img
Since: 0.3.3
paleTurquoise :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
paleturquoise = rgb(175, 238, 238)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = paleTurquoise
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/PaleTurquoise.png" img
Since: 0.3.3
paleVioletRed :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
palevioletred = rgb(219, 112, 147)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = paleVioletRed
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/PaleVioletRed.png" img
Since: 0.3.3
papayaWhip :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
papayawhip = rgb(255, 239, 213)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = papayaWhip
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/PapayaWhip.png" img
Since: 0.3.3
peachPuff :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
peachpuff = rgb(255, 218, 185)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = peachPuff
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/PeachPuff.png" img
Since: 0.3.3
peru :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
peru = rgb(205, 133, 63)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = peru
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Peru.png" img
Since: 0.3.3
pink :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
pink = rgb(255, 192, 203)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = pink
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Pink.png" img
Since: 0.3.3
plum :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
plum = rgb(221, 160, 221)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = plum
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Plum.png" img
Since: 0.3.3
powderBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
powderblue = rgb(176, 224, 230)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = powderBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/PowderBlue.png" img
Since: 0.3.3
purple :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
purple = rgb(128, 0, 128)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = purple
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Purple.png" img
Since: 0.3.3
red :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
red = rgb(255, 0, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = red
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Red.png" img
Since: 0.3.3
rosyBrown :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
rosybrown = rgb(188, 143, 143)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = rosyBrown
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/RosyBrown.png" img
Since: 0.3.3
royalBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
royalblue = rgb(65, 105, 225)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = royalBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/RoyalBlue.png" img
Since: 0.3.3
saddleBrown :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
saddlebrown = rgb(139, 69, 19)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = saddleBrown
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/SaddleBrown.png" img
Since: 0.3.3
salmon :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
salmon = rgb(250, 128, 114)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = salmon
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Salmon.png" img
Since: 0.3.3
sandyBrown :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
sandybrown = rgb(244, 164, 96)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = sandyBrown
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/SandyBrown.png" img
Since: 0.3.3
seaGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
seagreen = rgb(46, 139, 87)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = seaGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/SeaGreen.png" img
Since: 0.3.3
seashell :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
seashell = rgb(255, 245, 238)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = seashell
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Seashell.png" img
Since: 0.3.3
sienna :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
sienna = rgb(160, 82, 45)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = sienna
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Sienna.png" img
Since: 0.3.3
silver :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
silver = rgb(192, 192, 192)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = silver
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Silver.png" img
Since: 0.3.3
skyBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
skyblue = rgb(135, 206, 235)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = skyBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/SkyBlue.png" img
Since: 0.3.3
slateBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
slateblue = rgb(106, 90, 205)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = slateBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/SlateBlue.png" img
Since: 0.3.3
slateGray :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
slategray = rgb(112, 128, 144)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = slateGray
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/SlateGray.png" img
Since: 0.3.3
slateGrey :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
slategrey = rgb(112, 128, 144)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = slateGrey
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/SlateGrey.png" img
Since: 0.3.3
snow :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
snow = rgb(255, 250, 250)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = snow
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Snow.png" img
Since: 0.3.3
springGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
springgreen = rgb(0, 255, 127)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = springGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/SpringGreen.png" img
Since: 0.3.3
steelBlue :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
steelblue = rgb(70, 130, 180)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = steelBlue
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/SteelBlue.png" img
Since: 0.3.3
tan :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
tan = rgb(210, 180, 140)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = tan
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Tan.png" img
Since: 0.3.3
teal :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
teal = rgb(0, 128, 128)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = teal
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Teal.png" img
Since: 0.3.3
thistle :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
thistle = rgb(216, 191, 216)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = thistle
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Thistle.png" img
Since: 0.3.3
tomato :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
tomato = rgb(255, 99, 71)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = tomato
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Tomato.png" img
Since: 0.3.3
turquoise :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
turquoise = rgb(64, 224, 208)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = turquoise
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Turquoise.png" img
Since: 0.3.3
violet :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
violet = rgb(238, 130, 238)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = violet
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Violet.png" img
Since: 0.3.3
wheat :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
wheat = rgb(245, 222, 179)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = wheat
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Wheat.png" img
Since: 0.3.3
white :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
white = rgb(255, 255, 255)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = white
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/White.png" img
Since: 0.3.3
whiteSmoke :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
whitesmoke = rgb(245, 245, 245)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = whiteSmoke
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/WhiteSmoke.png" img
Since: 0.3.3
yellow :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
yellow = rgb(255, 255, 0)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = yellow
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/Yellow.png" img
Since: 0.3.3
yellowGreen :: Color (SRGB 'NonLinear) Word8 Source #
Defined in SVG1.1 as
yellowgreen = rgb(154, 205, 50)
Example
>>>
import Codec.Picture as JP
>>>
import Codec.Picture.Png (writePng)
>>>
let ColorSRGB r g b = yellowGreen
>>>
let img = JP.generateImage (\_ _ -> JP.PixelRGB8 r g b) 200 34
>>>
writePng "files/svg/YellowGreen.png" img
Since: 0.3.3