adobe-swatch-exchange-0.2.0: parse Adobe Swatch Exchange files and (optionally) output .css files with the colors

Safe HaskellNone

Data.AdobeSwatchExchange

Description

This module defines the types for AdobeStageExchange and a suitable Binary instance. All the get/put helper functions are also exported, but, in general, you will just want the types and the Binary instance.

Synopsis

Documentation

data ASEBlock Source

An Adobe Swatch Exchange block

Constructors

GroupStart 

Fields

groupName :: String
 
GroupEnd 
CE ColorEntry 

getFileSig :: Get ()Source

get the ASEF file signature

colorToHex :: Color -> StringSource

Convert a Color to an RGB hex value.