Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

graphics::color::cmyk(3pm) [debian man page]

Graphics::Color::CMYK(3pm)				User Contributed Perl Documentation				Graphics::Color::CMYK(3pm)

NAME
Graphics::Color::CMYK - CMYK color model VERSION
version 0.29 SYNOPSIS
use Graphics::Color::CMYK; my $color = Graphics::Color::CMYK->new({ cyan => 120, magenta => .5, yellow => .25, key => .5 }); DESCRIPTION
Graphics::Color::CMYK represents a Color in CMYK color model. Cyan stands for Cyan Magenta Yellow Key (or black). ATTRIBUTES
cyan c Set/Get the cyan component of this Color. magenta m Set/Get the magenta component of this Color. yellow y Set/Get the yellow component of this Color. key k Set/Get the key (black) component of this Color. name Get the name of this color. Only valid if the color was created by name. METHODS
as_string Get a string version of this Color in the form of: CYAN,MAGENTA,YELLOW,KEY as_percent_string Return a percent formatted value for this color. as_array Get the CMYK values as an array equal_to Compares this color to the provided one. Returns 1 if true, else 0; not_equal_to The opposite of "equal_to". AUTHOR
Cory G Watson <gphat@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Cold Hard Code, LLC. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.12.4 2011-08-11 Graphics::Color::CMYK(3pm)

Check Out this Related Man Page

Graphics::Color::HSV(3pm)				User Contributed Perl Documentation				 Graphics::Color::HSV(3pm)

NAME
Graphics::Color::HSV - HSV color space VERSION
version 0.29 SYNOPSIS
use Graphics::Color::HSV; my $color = Graphics::Color::HSV->new({ hue => 120, saturation => .5, value => .25, }); DESCRIPTION
Graphics::Color::HSV represents a Color in an RGB color space. HSLV stands for Hue Saturation and Value. HSV is closely related to HSL. ATTRIBUTES
hue h Set/Get the hue component of this Color. saturation s Set/Get the saturation component of this Color. value v Set/Get the value component of this Color. alpha Set/Get the alpha component of this Color. name Get the name of this color. Only valid if the color was created by name. METHODS
as_string Get a string version of this Color in the form of HUE,SATURATION,VALUE,ALPHA. as_percent_string Return a percent formatted value for this color. This format is suitable for CSS HSV values. as_array Get the HSV values as an array as_array_with_alpha> Get the HSVA values as an array equal_to Compares this color to the provided one. Returns 1 if true, else 0; not_equal_to The opposite of equal_to. to_rgb Creates this HSV color in RGB space. Returns a Graphics::Color::RGB object. AUTHOR
Cory G Watson <gphat@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Cold Hard Code, LLC. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.12.4 2011-08-25 Graphics::Color::HSV(3pm)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Color and Users

We work with Digital Workstations and some NT-Workstation which communicate by a reflection software (WRQ) with the UNIX-Server. We changed our main application (GIS-System) to true-color. Since the change two of our users with the reflection software can't start the application anymore. One is... (5 Replies)
Discussion started by: arn_ch
5 Replies

2. Solaris

cursor color[urgent]

Hi All. How can I change the color of my cusor in sun solaris 8 permanently ? Right now my cursor color is yellow. I want black. Please reply me soon. Thanks Pankaj Verma. (3 Replies)
Discussion started by: pankaj verma
3 Replies

3. UNIX for Dummies Questions & Answers

Yellow Book assistance needed

Has anyone worked with yellow book in a unix/linux environment? If so, could you provide me with more answers around this? (2 Replies)
Discussion started by: FL1
2 Replies

4. OS X (Apple)

256 Color Support Removed in Leopard.

I've recently 'upgraded' my Mac Pro to Leopard and in the process have killed a major piece of cross platform software (IDL) that I use in my work. Apparently, Leopard has disabled 256 color compatibility, while simultaneously leaving the option as ghosted teaser on the displays panel of system... (1 Reply)
Discussion started by: c1996b2
1 Replies

5. Shell Programming and Scripting

how can i get the file name in which i found the data

Ex :- file.txt <fruits> <apple>redcolor<\apple> <banana>yellow color and it is<\banana> </fruits> i have a number of files in my directory in above fashion. i am searching for perticular data between the tags using this command nawk -F">" '{print $2}' *.txt | nawk -F"<" '{print... (4 Replies)
Discussion started by: pvr_satya
4 Replies

6. Linux

Horizontal Lines

Jan 18, 2010 14:15:31 GMT Hello, I get horizontal black lines after each line of text and every blank line is colored black. I am using HP Color LaserJet... (5 Replies)
Discussion started by: H_P
5 Replies

7. OS X (Apple)

Adding Color to bash

Hey everyone, I have come across an issue to where I am trying to create a script which changes the text color with a simple if then statement. I have seen it done with Fedora 8 but when I try and create it using my MacBook Pro running Snow Leopard it doesn't work. Funny thing is, when I use... (2 Replies)
Discussion started by: dachadster13
2 Replies

8. Shell Programming and Scripting

Variable resolution in File content

I have a file File1 containing lines like below apple ${FRUIT}-Color orange ${FRUIT}-Color banana ${FRUIT}-Color Now, in my shell I'm reading the file like below while read FRUIT DESC; do echo $FRUIT $DESC; done < File1 which outputs - apple ${FRUIT}-Color orange ${FRUIT}-Color... (3 Replies)
Discussion started by: nexional
3 Replies

9. UNIX for Dummies Questions & Answers

Full Color Command Line Menus

Hi all, Did a couple of Google searchs, a couple of searchs on the site here and didn't find an answer... But, maybe I'm not searching for the right phrases. My question; what creates the full color menus on the command line in unix? I'm looking for something that would replicate the... (3 Replies)
Discussion started by: jtollefson
3 Replies

10. Shell Programming and Scripting

Color text on shell programming

hello i need the main reference for color code on shell programing i know a few color like: RED='\033 (2 Replies)
Discussion started by: nimafire
2 Replies

11. Web Development

Color a Badge Based on the Weeks the Member is Active in the Latest Sequence

Hi Ravinder, Could you (and anyone else who wants to help out) check this PHP code and confirm it does what I expect it to do, which is to color a badge based on the weeks a member is active in the latest sequence? I did a cut-paste-change from my "days in sequence" PHP prototype script and it... (6 Replies)
Discussion started by: Neo
6 Replies