color::library::dictionary::tango(3pm) [debian man page]
Color::Library::Dictionary::Tango(3pm) User Contributed Perl Documentation Color::Library::Dictionary::Tango(3pm)NAME
Color::Library::Dictionary::Tango - (Tango) The Tango color palette
DESCRIPTION
The Tango icon theme's goal is to make applications not seem alien on any desktop. A user running a multiplatform application should not
have the impression that the look is unpolished and inconsistent with what he or she is used to. While this isn't about merging styles of
all desktop systems, we do aim to not be drastically different on each platform.
The Tango color palette consists of 27 RGB colors.
<http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines>
COLORS
Aluminium 1 aluminium1 #eeeeec
Aluminium 2 aluminium2 #d3d7cf
Aluminium 3 aluminium3 #babdb6
Aluminium 4 aluminium4 #888a85
Aluminium 5 aluminium5 #555753
Aluminium 6 aluminium6 #2e3436
Butter 1 butter1 #fce94f
Butter 2 butter2 #edd400
Butter 3 butter3 #c4a000
Chameleon 1 chameleon1 #8ae234
Chameleon 2 chameleon2 #73d216
Chameleon 3 chameleon3 #4e9a06
Chocolate 1 chocolate1 #e9b96e
Chocolate 2 chocolate2 #c17d11
Chocolate 3 chocolate3 #8f5902
Orange 1 orange1 #fcaf3e
Orange 2 orange2 #f57900
Orange 3 orange3 #ce5c00
Plum 1 plum1 #ad7fa8
Plum 2 plum2 #75507b
Plum 3 plum3 #5c3566
Scarlet Red 1 scarletred1 #ef2929
Scarlet Red 2 scarletred2 #cc0000
Scarlet Red 3 scarletred3 #a40000
Sky Blue 1 skyblue1 #729fcf
Sky Blue 2 skyblue2 #3465a4
Sky Blue 3 skyblue3 #204a87
perl v5.14.2 2011-12-07 Color::Library::Dictionary::Tango(3pm)
Check Out this Related Man Page
Color::Library::Color(3pm) User Contributed Perl Documentation Color::Library::Color(3pm)NAME
Color::Library::Color - Color entry for a Color::Library color dictionary
METHODS
$id = $color->id
Returns the id of the color
A color id is in the format of <dictionary_id:color_name>, e.g.
svg:aliceblue
x11:bisque2
nbs-iscc-f:chromeyellow.66
vaccc:darkspringyellow
$name = $color->name
Returns the name of the color, e.g.
aliceblue
bisque2
chromeyellow
darkspringyellow
$title = $color->title
Returns the title of the color, e.g.
aliceblue
bisque2
chrome yellow
Dark Spring-Yellow
$dictionary = $color->dictionary
Returns the Color::Library::Dictionary object that the color belongs to
$hex = $color->hex
Returns the hex value of the color, e.g.
ff08ff
eed5b7
eaa221
669900
Note that $hex does NOT include the leading #, for that use $color->html, $color->css, or $color->svg
$html = $color->html
$css = $color->css
$svg = $color->svg
Returns the hex value of the color with a leading #, suitable for use in HTML, CSS, or SVG documents, e.g.
#ff08ff
#eed5b7
#eaa221
#669900
$value = $color->value
Returns the numeric value of the color, e.g.
15792383
15652279
15376929
6723840
($r, $g, $b) = $color->rgb
Returns r, g, and b values of the color as a 3 element list (list context), e.g.
(240, 248, 255)
$rgb = $color->rgb
Returns r, g, and b values of the color in a 3 element array (scalar context), e.g.
[ 240, 248, 255 ]
$color = Color::Library::Color->new( id => $id, name => $name, title => $title, value => $value )
$color = Color::Library::Color->new( { id => $id, name => $name, title => $title, value => $value } )
$color = Color::Library::Color->new( [[ $id, $name, $title, $rgb, $hex, $value ]] )
Returns a new Color::Library::Color object representing the specified color
You probably don't want/need to call this yourself
FUNCTIONS
$hex = Color::Library::Color::rgb2hex( $rgb )
$hex = Color::Library::Color::rgb2hex( $r, $g, $b )
Converts an rgb value to its hex representation
$value = Color::Library::Color::rgb2value( $rgb )
$value = Color::Library::Color::rgb2value( $r, $g, $b )
Converts an rgb value to its numeric representation
$rgb = Color::Library::Color::value2rgb( $value )
($r, $g, $b) = Color::Library::Color::value2rgb( $value )
Converts a numeric color value to its rgb representation
($r, $g, $b) = Color::Library::Color::parse_rgb_color( $hex )
($r, $g, $b) = Color::Library::Color::parse_rgb_color( $value )
Makes a best effort to convert a hex or numeric color value to its rgb representation
perl v5.14.2 2011-12-07 Color::Library::Color(3pm)