(/ Xբ` +COMPACT_MANIFEST 000644 001410 0 013464 0 ustar 00root wheel {"name":"perl-Convert-Color-single-532","origin:version":"0.11","comment":" space csions and named lookups (5.32)","maintainer":"Perl Automaton [perl@ironwolf.systems]","www":"none","abi":"Solaris:10:amd64","arch":"sx86:prefix":"/raven","flatsize":88282,"licenselogic":"","desc":"cps":{"gcc9-libs-standard":{gcc9:9.3.0"},List-UtilsByModule-Pluggable5.25.32-primary5.32.1"}},"categories":["],"optionPERL_"on",4ff"}} +6752233,"file/lib/perl5/site_perl//.pm":"1$a9067f591cbf7f49e407d857b485b185972b9a303fa2b9d4ed97d5564abb7ded",/CMY41aaf629a72cc1b3b333e566abd001367c3cbabe155707e7321ad42c3dd68272K2221f146dc2c852e894c7ba4a4ba577b4064e08cc006693331ffb37201cbf6afHSLd92d3b6993a783c9370fa97a010135ede0e9efe97c7ed2407aefb086097ad3c4V39f5aacf676a618e0e90f1f13e62450352f90424f66b1c1ec00d402923b4548ueChromaBased8055f2b14a817d3011a667cce6d939f4e699d5824ce49b663a6eebdd859be4bRGBf975d9b407eded0ae782922bab116057d2021dd494fbdf474b373c055af631f165a278de73357bbad4eaddddf4c248f0035a090646d997f39856ef8993490e88652c2d7b45664b25dc2945f10a04063b23d64a6b6cc31485b98727425792acb4VGAe0d7bcebece63df8eb388fbbfd3d726f678f92b1cda2d97ee28bd541f82f52eX119394ab84feb935df4c6915db20ba4bd4d0ac8e93f9cf0834760cefa888e61fd5mach/5.32/auto.packlistb1967895b8869c42fffd50d7bef28fcc09f515ff3bd5046815718d0e1b15bf94n/man3::.3.gz8668097c3abf21693e119fe7133bae2a0ae8955b54f63ba0f29d30c329a43b5b::CMY6e27408b734849e78101b386b721211c6ece83f7a547371632a2a627650f1e9aKd22032a46b002565e4d43a995475b30da0e8a09e15fc2d832ee1a9e3f6248047HSLb420631e6758ca1a918d5fcd8aa49895e21b04867d8a9fc559edc7bdd3d9c595V10d94e1134fa9cc401f722812aa7a962b05a662d1390d421c74e7603ba5e9637RGBbeaed70668c28bcc4e8d6eb426b7baf8e44a97c0462cb0105ab17c7c684c7e56168693a698f4e7b933536deacd88aac10fb483b1819a1486b63df6fdf0180ce9591bbe4182ec910db567de7257aac9bcfc8f6880772dbdcf7a06abbaef7f574VGA7ff27917372992ecc8cd02a2d03cf76b86ba44502608f77a0bc6ef4bc5f0ed13X115d55fdf8c186afe66a26f25ddcbbeeea7bd537929ba3879b1221f521547e9b67.pm 25553 14111340614 021173# You may distribute under the terms of eithGNU General Public L
# oArtist (the samas itself)
#
# (C) Paul Evans, 2009-2013 -- leonerd@.org.uk
package ;
use strict;warningsCarpList:: qw( min_by ):: require => 0,
search_path => [ '' ];
my @plugins =->;
our $VERSION = '0.11';
=head1 NAME
C<> - SYNOPSIS
my $new( 'hsv:76,0.43,0.89' my ( $red, $green, $blue ) =->rgb;
# GTK uses 16-bit valuesgtk_col = Gtk2::Gdkas_rgb1616# HTML#rrggbb in hexhtml = '
DESCRIPTION
This m providesbetween commonly used ways to expresss.
Its such as RGBHSV,it
look up by a.classa base for subes which represent particular
in. Themethodthe
in a fewnient forms, thoughmay more specific
detailsin question.
For, readdocumentation on thees;ly:
=over 4
=item *
L> - red//as float0188integers16HSV> - hue/satur/LlightnesCMYcygenta/yellowK/key (blackness)
=back
The following areof one ofabove,a way
to acceedefinednamesVGAbasic VGAX11offrom X11's F=cutCONSTRUCTORmy $_2_cache_initialised%; # {$}lass2
# doc'ed laterreadability...
sub register_
{
= shift;(@_;
existsand croak is already ";clared a";no 'refs'*{"as_"} = sub {->t_to};
}
unless( ) ++;# Inoforeach( (file = ".pm" ) =~ s{::}{/}g;or next->can( 'COLOR_SPACE' ) my $this=::warn( deprecated => "Discoveredby"()}
turn2STRING )
Ra newed bytring.
should be toit applies. For
example
rgb:RED,GREEN,BLUE8:RRGGBB16:RRRRGGGGBBBB
hsv:HUE,SAT,VAL
hslLUM
cmy:CYAN,MAGENTA,YELLOWk,KEY
vga:INDEX
x11seenstructorsub newtr=~ m/^(\w+):(.*)$/ orUnto pars$str,( $1, $2recogn''1 METHODS2sindividual components, this is done directlyo
by firstting them to an usir C
rgbselfAbstract - overload".ref( CONS
Cross-iC<, assisthelperintwoinvolved.
WhC<>SRCDEST,opeattemped,is order.and refer tos, e.g. C.1.
Ifare equaas it s.2th_DEST>,it3new_from_SRC>, callnd
pass4rgb
t5nseworked,throw an excepse funcmay beedways:
$()Dest::C rgb( )
Atinto itsi given. See
variouachierelevanthabeen (explicitly, or
im by> ors)awill be inst.
Mimcurrently Ced iy do not yet, but
eaturenot bied upon -belowto_orom=ref}if(eq# Identityself;de;codself"" )ode->() els,rgb# TODO: check thatrgb iseanno'' to}
# Fallback implecasdon' anything better_;EDC behaviouraically
callical'rgb')gtedstor, sofuwill
not havheadisand, delicate
nof# Sinceed, we can dynamnewfor
# dat runtianas_1;undef};SUPER::::([^:]+)$/ifeq "DESTROY"_[0][0]t's possihalazyy just creRelynto"&{}*= goto &||qq(locate obje"via"OTHERAs well ait is likelors to
obtaSUBCLASSisnded tods2
A aspalette( %argsset,
toupclosest match with
setprotro>8enum =>or CODE
Ar anonymousenceulis._oncs per C<>anresultdsoalling
C<_tohead3= $pkg->( $orig,Thean
measu; defaulosa tiersthe
target,onehosepkgargs{ =my @;}R'' or${pkg}::||= "rgb"orig =$dst = "dst_${}_cheap"{$dst( $_) }(qw( rgb hsv hsl )gbrgb,rgb@_ ),HOR
<>0x55AA;
05634621usqw__PACKAGE__'cmy'aed asD:red0, 1, 1Can alspink'0,0.3,0.3Via >:yancmy:1,0,0OsaCMY,three
ing-pointange 0 to, $, $se
be number. Voutsidebmp )
Pars>simila
-argform
,,co decimal noc, $m, $yif== 1local $_/^(\d+(?:\.\d+)?),, $3pec '$_3usage:SPECC, M, Y )# Clampap { $_ <0; $_ > 11 }b[],$cyanmyAmplyan [0] }12myandcmy#1 -, $g, $brgSEE ALSO/keyK764737KkKK, 0KkKfourK, $keyK,, $k, $4K4K, Kkfoursub key 3
An aliaskey* = \&key; #k,andkkey# Pure (1kkey;w- $k( ( * $w) + $k,my;cmynew_mink0,# Rescalearou # white($c) / $w, ($my_cmy( 1---cmm$cmy 14663::hslHSL1, 0.5'0,1,0.8hsl:305HSL. Hugrees,
360 (exclusive). Sonsidecylinder, of heightradius 1
posinglexissthe. Ishapeentiraxisughentrof greytop of
circumirse
midway aloure-.
Becaoth surf itcs, a
ly-relanby reshapnto a
bi-conetopbottombecome
(is a
dift"" thanby CIE)ilisarHue--Lconfitly-umin(HCL)$hu, $ hue
sesshue,h, $s, $lH, S, L# Fi[0,360)h +=w$h < 0;->hhsvhue derived propertymapsoinstead intuitivcept
of how ful"es useful for
calculshsll >upper 2 * $s * -low$lslhsl# See http://en.wikipedia.org//HSVmy $q = $l $l1 + $s ): $l-)p =l - $qModifalgorithm slywe up by 6hh / rk + 2;gb - 2ap$_ += 6_-> 6tr, $tg,< 1 ? $p + ( ( $q - $p ) * $_ ) :3q4( 4 -$pmix_hue_min_maxlmax + ) /ymin ==? 0$l <= 1/2 ?-(-dst_hsl(se
Euclidean as-adjusted
sub # ... / sqrt(4)
>sit omifinal square-rooscaling
e,sa
matter,when pick"b" ouas. It
fornd 4
corysl-_hue_dst_squ+ $dl*$dlL_and_HSLHSV on WV376636VvVVV7,1v1V
,a
atscact
VVvvVvVVvv*;vvvvhi = int(f - $hipv-;qft)hi == 0( $v, $t,;1q,2pt3q45q/
vvvvvvvv*$dv02650377# hidCPAN
#cingdians
# atan2(1,0) == PI/2ant PIover180 =>/ 90Nwe'rea tax#L,sommon es.
hu{r60ggbr + 12brg24U -
#wopo1,2r11;22dh# Sr1*$rr2*$r*2*cos(* 22045721rgb1'10.7rgb:RGBF8- or8>
and16>red,bR, G, B1]rredgbbred{}[0..2]ixalpha_blend, [ $ ]lcombinp.al C<> parametermix ,
0.5 ifrlendof
,1 C<>,=1> 1PA, $gA, $bABBBrA *+ $rBggbbunwed . Two
0,and
1alllieinrgb3 sumscparrgbs
i
It u3rAB;gggbbbB$dr*$drg*$dgb*$dbEXAMPLESGradientsC<>a smooth gu "vga:blue");cyan
sa_/10 )for 0 .. 1043617416 in
1665535'49152'or
ffffc000c00016:0,; i.e. bits >. Itb
hex encoded
16_hex:
rrrrggggbbbb[[:xdigit:]]{4})hex( $1 ),23 )16map int,0xffff/*1616bhex, in
aC<>hex :sprintf "%04x"1616# Addounding + 0.516Sorksaetic.anx7fffint(),1616*16*(^2)
814271888
8825'255,192,19ffc0c8:0,255,25258258gg282552552558888GG,oful, or
pl2x8888258127255255255255888255*2588258 40300VGAvgaVGAed'd0of8
i
ylookby stmy %vga_= ]1111Alsoe@qwred>}}$.a\d+>=[3]nam536543X118x11# D puin We'll trym taking
#wd@RGB_TXT'/etc/X11/',usr/shareX11R6)X11x118 file@x11_; # To rves;_load_rgbt(-f $_open(, "<",e$_ - $!\nlasNo was found
( <>s/^\s+//; # trim leWSnext if m/^!, =\s+->=push were
um_Wscantextrcoun of
or
}X11215 024710.pm
KV8.3KV168 04543050ZW|lYg1,M^jlm=idBϽ3zؘ[N}}ߑ,*zGyS\2vt^\En Ł>u`Ko5*]_1VN:+t/<}?X 2fVEtR2wRLDHa]]1o&^xҨbYps/+Op@(UU+W
~$
Bw{!R$Q NL0HVy!d%j;[Ili8doVNhƫ!oԛϝWKsL1"7J K)d:cRYKq&r<3F5!.i kjh6k20Rf
e[B;^T,-2oj-ًZIcwd˥U +MB3u,==nਃa`-ғG\jxjl9N`&j> F$U)??B 2ϟ˄j(d,HRLjYbNZ%2Fz_"儇3LFĈ 9.,x S#W1! gQ\dzڼ=cn]5b!pL$$rCƘ¹
LQeD'gQquy^4J}Wq4IBGbTQ]@:!9K}11+HoyĴ$pL.E\b7529&߈=FxYi
x˖>?:k4
c7ŘFφ*CYbl;VU:Uf"T\GGutv~">7ވN1GFߘPk:XU-$3Ruvk$NC'7҉AgL̔ED-nwHu*1,uʜvG1J JO&+YvxaP/_1Ի^o(wIV{?hei&(qX?zZoA<&ϻx.E:.}qk!=;klX2|ƒ܄i߶4iԚ[6{YFo[ v8?zJ:T%-vodԪ0COo@)߃V,լ l{
#\:!"zī;6fd0ʖ2С]IdWF4.Ӽ}DA͞u>Fxf8xIn,vRAjefjj3h:u`J툶'p$;.fe-eDrHNQpQZO^L8Β(y*ײ17%B<`| cK6ˏOWd
X˸Ƴξۿ
R.]!C$ Nb+jÞ4ۈ^dQm,gίSA430/ ~X5SڏBt_G>d39+NwDm/V/]BKDU$VOi p,4JPP {(oA =ιO-)BQJV&
PE EJViEMkx<{V
LT/zoʆn)r7~ݦD#Zg\͢CnW쟹Z'
Ӵ܋uʻ:ńޗEuI(a脛<2߉J Z$x&N'nM $ino SuvO
rNr̄l=go5gq |