Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

convert::color::hsv(3pm) [debian man page]

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

NAME
"Convert::Color::HSV" - a color value represented as hue/saturation/value SYNOPSIS
Directly: use Convert::Color::HSV; my $red = Convert::Color::HSV->new( 0, 1, 1 ); # Can also parse strings my $pink = Convert::Color::HSV->new( '0,0.7,1' ); Via Convert::Color: use Convert::Color; my $cyan = Convert::Color->new( 'hsv:300,1,1' ); DESCRIPTION
Objects in this class represent a color in HSV space, as a set of three floating-point values. Hue is stored as a value in degrees, in the range 0 to 360 (exclusive). Saturation and value are in the range 0 to 1. CONSTRUCTOR
$color = Convert::Color::HSV->new( $hue, $saturation, $value ) Returns a new object to represent the set of values given. The hue should be in the range 0 to 360 (exclusive), and saturation and value should be between 0 and 1. Values outside of these ranges will be clamped. $color = Convert::Color::HSV->new( $string ) Parses $string for values, and construct a new object similar to the above three-argument form. The string should be in the form hue,saturation,value containing the three floating-point values in decimal notation. METHODS
$h = $color->hue $s = $color->saturation $v = $color->value Accessors for the three components of the color. ( $hue, $saturation, $value ) = $color->hsv Returns the individual hue, saturation and value components of the color value. SEE ALSO
o Convert::Color - color space conversions o Convert::Color::RGB - a color value represented as red/green/blue AUTHOR
Paul Evans <leonerd@leonerd.org.uk> perl v5.12.3 2011-06-15 Convert::Color::HSV(3pm)

Check Out this Related Man Page

Convert::Color::CMY(3pm)				User Contributed Perl Documentation				  Convert::Color::CMY(3pm)

NAME
"Convert::Color::CMY" - a color value represented as cyan/magenta/yellow SYNOPSIS
Directly: use Convert::Color::CMY; my $red = Convert::Color::CMY->new( 0, 1, 1 ); # Can also parse strings my $pink = Convert::Color::CMY->new( '0,0.3,0.3' ); Via Convert::Color: use Convert::Color; my $cyan = Convert::Color->new( 'cmy:1,0,0' ); DESCRIPTION
Objects in this class represent a color in CMY space, as a set of three floating-point values in the range 0 to 1. CONSTRUCTOR
$color = Convert::Color::CMY->new( $cyan, $magenta, $yellow ) Returns a new object to represent the set of values given. These values should be floating-point numbers between 0 and 1. Values outside of this range will be clamped. $color = Convert::Color::CMY->new( $string ) Parses $string for values, and construct a new object similar to the above three-argument form. The string should be in the form cyan,magenta,yellow containing the three floating-point values in decimal notation. METHODS
$c = $color->cyan $m = $color->magenta $y = $color->yellow Accessors for the three components of the color. ( $cyan, $magenta, $yellow ) = $color->cmy Returns the individual cyan, magenta and yellow color components of the color value. SEE ALSO
o Convert::Color - color space conversions o Convert::Color::RGB - a color value represented as red/green/blue o Convert::Color::CMYK - a color value represented as cyan/magenta/yellow/key AUTHOR
Paul Evans <leonerd@leonerd.org.uk> perl v5.12.3 2011-06-15 Convert::Color::CMY(3pm)
Man Page

13 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Color konsole in FBSD 4.6

FBSD 4.6 How do I colorize my konsole to see directories etc. Am able to get color in the shell with ls -GF in my .bashrc. But color does not show in KDE3 Konsole (Xwindows) for some reason.FBSD 4.6 (1 Reply)
Discussion started by: lancest
1 Replies

2. Shell Programming and Scripting

Perl module Convert::IBM390

Hi, Need urgent help. I want to use this module Convert::IBM390 but we dont have admin rights on our Unix box so can't login as root. Is there any other way where we can use this module or can it be converted to a program. Please help. (1 Reply)
Discussion started by: er_ashu
1 Replies

3. 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

4. Shell Programming and Scripting

Convert perl qw list to text file list?

Does anyone have a good example? I am having trouble looping.. Thanks (1 Reply)
Discussion started by: mrlayance
1 Replies

5. Shell Programming and Scripting

Automated FFmpeg Convert Bash Script

I need a bash script that will. So here is what I made so far. 1. Convert video files to iPhone format 2. MV converted video to new directory (with domain.com attached to it) 4. Copy a NFO file (from another directory) and add some conversion information 5. Delete old directory torrent... (6 Replies)
Discussion started by: domz
6 Replies

6. Shell Programming and Scripting

Convert date

If I pass the value in the form YYYY/MM/DD(20100719) how to convert in the form 19\/Jul\/2010 (1 Reply)
Discussion started by: sandy1028
1 Replies

7. Shell Programming and Scripting

Convert decimal notation to ANSI point code notation

wondering if anyone has any thoughts to convert the below thru a shell script Convert decimal signalling point notation to ANSI point code notation There is a site that does that conversion but i need to implement the solution in a shell script.....Thoughts.... OS: Solaris 9 ... (4 Replies)
Discussion started by: aavam
4 Replies

8. Shell Programming and Scripting

Assign specific Color to the outputs in script

Hi, Im programming an interactive menu that verifies the exports of my oracle DB, and im having some trouble finding a process that outputs for example a green command line when the export terminated successfully. i have something like this cat... (15 Replies)
Discussion started by: blacksteel1988
15 Replies

9. UNIX for Dummies Questions & Answers

Adding Color using More

Daily Stupid Question: When I use a cat with a grep I can see "blind SQL injection vulnerablity" highlighted as red and is easily readable cat file |grep -i 'blind\ SQL\ injection\ vulnerability' When I add a more to view the results page at a time, the color is taken away and is... (3 Replies)
Discussion started by: metallica1973
3 Replies

10. 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

11. What is on Your Mind?

UNIX field scope in European countries

Hi, I have been working in India since past 13 years and as per Indian IT culture, there will be saturation in Salary which barely matches with rising living costs in India. I am thinking to move/work in some other country for few years at least which help me financially plus technically. As of... (3 Replies)
Discussion started by: nightup2222
3 Replies

12. UNIX for Dummies Questions & Answers

Convert Overpunch character values to number that comes between the numbers in perl

(18 Replies)
Discussion started by: nadeemrafikhan
18 Replies

13. Shell Programming and Scripting

Convert fixed value fields to comma separated values

Hi All, Hope you are doing Great!!!. Today i have came up with a problem to say exactly it was for performance improvement. I have written code in perl as a solution for this to cut in specific range, but it is taking time to run for files thousands of lines so i am expecting a sed... (9 Replies)
Discussion started by: mad man
9 Replies