File Coverage

lib/Graphics/ColorNames/PantoneReport.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 10 11 90.9


line stmt bran cond sub pod time code
1              
2              
3             package Graphics::ColorNames::PantoneReport;
4              
5             require 5.008;
6 1     1   10989 use strict;
  1         2  
  1         31  
7 1     1   5 use warnings;
  1         3  
  1         381  
8              
9             our $VERSION = '0.53';
10              
11             sub NamesRgbTable { # https://www.w3schools.com/colors/colors_trends.asp
12             return {
13 1     1 0 144 'marsala' => 0x955251,
14             'radiandorchid' => 0xB565A7,
15             'emerald' => 0x009B77,
16             'tangerinetango' => 0xDD4124,
17             'honeysucle' => 0xD65076,
18             'turquoise' => 0x45B8AC,
19             'mimosa' => 0xEFC050,
20             'blueizis' => 0x5B5EA6,
21             'chilipepper' => 0x9B2335,
22             'sanddollar' => 0xDFCFBE,
23             'blueturquoise' => 0x55B4B0,
24             'tigerlily' => 0xE15D44,
25             'aquasky' => 0x7FCDCD,
26             'truered' => 0xBC243C,
27             'fuchsiarose' => 0xC3447A,
28             'ceruleanblue' => 0x98B4D4,
29             'rosequartz' => 0xF7CAC9,
30             'peachecho' => 0xF7786B,
31             'serenity' => 0x91A8D0,
32             'snorkelblue' => 0x034F84,
33             'limpetshell' => 0x98DDDE,
34             'lilacgrey' => 0x9896A4,
35             'icedcoffee' => 0xB18F6A,
36             'fiesta' => 0xDD4132,
37             'buttercup' => 0xFAE03C,
38             'greenflash' => 0x79C753,
39             'riverside' => 0x4C6A92,
40             'airyblue' => 0x92B6D5,
41             'sharkskin' => 0x838487,
42             'aurorared' => 0xB93A32,
43             'warmtaupe' => 0xAF9483,
44             'dustycedar' => 0xAD5D5D,
45             'lushmeadow' => 0x006E51,
46             'spicymustard' => 0xD8AE47,
47             'pottersclay' => 0x9E4624,
48             'bodacious' => 0xB76BA3,
49             'niagara' => 0x578CA9,
50             'primroseyellow' => 0xF6D155,
51             'lapisblue' => 0x004B8D,
52             'flame' => 0xF2552C,
53             'islandparadise' => 0x95DEE3,
54             'paledogwood' => 0xEDCDC2,
55             'pinkyarrow' => 0xCE3175,
56             'kale' => 0x5A7247,
57             'hazelnut' => 0xCFB095,
58             'grenadine' => 0xDC4C46,
59             'tawnyport' => 0x672E3B,
60             'balletslipper' => 0xF3D6E4,
61             'butterum' => 0xC48F65,
62             'navypeony' => 0x223A5E,
63             'neutralgray' => 0x898E8C,
64             'shadedspruce' => 0x005960,
65             'goldenlime' => 0x9C9A40,
66             'marina' => 0x4F84C4,
67             'autumnmaple' => 0xD2691E,
68             'meadowlark' => 0xECDB54,
69             'cherrytomato' => 0xE94B3C,
70             'littleboyblue' => 0x6F9FD8,
71             'chilioil' => 0x944743,
72             'pinklavender' => 0xDBB1CD,
73             'bloomingdahlia' => 0xEC9787,
74             'arcadia' => 0x00A591,
75             'ultraviolet' => 0x6B5B95,
76             'emperador' => 0x6C4F3D,
77             'almostmauve' => 0xEADEDB,
78             'springcrocus' => 0xBC70A4,
79             'limepunc' => 0xBFD641,
80             'sailorblue' => 0x2E4A62,
81             'harbormist' => 0xB4B7BA,
82             'warmsand' => 0xC0AB8E,
83             'coconutmilk' => 0xF0EDE5,
84             'redpear' => 0x7F4145,
85             'valiantpoppy' => 0xBD3D3A,
86             'nebulasblue' => 0x3F69AA,
87             'ceylonyellow' => 0xD5AE41,
88             'martiniolive' => 0x766F57,
89             'russetorange' => 0xE47A2E,
90             'crocuspetal' => 0xBE9EC9,
91             'limelight' => 0xF1EA7F,
92             'quetzalgreen' => 0x006E6D,
93             'sargassosea' => 0x485167,
94             'tofu' => 0xEAE6DA,
95             'almondbuff' => 0xD1B894,
96             'quietgray' => 0xBCBCBE,
97             'meerkat' => 0xA9754F,
98             'jesterred' => 0x9E1030,
99             'turmeric' => 0xFE840E,
100             'livingcoral' => 0xFF6F61,
101             'pinkpeacock' => 0xC62168,
102             'pepperstem' => 0x8D9440,
103             'aspengold' => 0xFFD662,
104             'princessblue' => 0x00539C,
105             'toffee' => 0x755139,
106             'mangomojito' => 0xD69C2F,
107             'terrariummoss' => 0x616247,
108             'sweetlilac' => 0xE8B5CE,
109             'soybean' => 0xD2C29D,
110             'eclipse' => 0x343148,
111             'sweetcorn' => 0xF0EAD6,
112             'browngranite' => 0x615550,
113             'bikingred' => 0x77212E,
114             'cremedepeche' => 0xF5D6C6,
115             'peachpink' => 0xFA9A85,
116             'rockyroad' => 0x5A3E36,
117             'fruitdove' => 0xCE5B78,
118             'sugaralmond' => 0x935529,
119             'darkcheddar' => 0xE08119,
120             'galaxyblue' => 0x2A4B7C,
121             'bluestone' => 0x577284,
122             'orangetiger' => 0xF96714,
123             'eden' => 0x264E36,
124             'vanillacustard' => 0xF3E0BE,
125             'eveningblue' => 0x2A293E,
126             'paloma' => 0x9F9C99,
127             'guacamole' => 0x797B3A,
128             'flamescarlet' => 0xCD212A,
129             'saffron' => 0xFFA500,
130             'biscaygreen' => 0x56C6A9,
131             'chive' => 0x4B5335,
132             'fadeddenim' => 0x798EA4,
133             'orangepeel' => 0xFA7A35,
134             'mosaicblue' => 0x00758F,
135             'sunlight' => 0xEDD59E,
136             'coralpink' => 0xE8A798,
137             'cinnamonstic' => 0x9C4722,
138             'grapecompote' => 0x6B5876,
139             'lark' => 0xB89B72,
140             'navyblazer' => 0x282D3C,
141             'brilliantwhite' => 0xEDF1FF,
142             'ash' => 0xA09998,
143             'amberglow' => 0xDC793E,
144             'samba' => 0xA2242F,
145             'sandstone' => 0xC48A69,
146             'classicblue' => 0x34568B,
147             'greensheen' => 0xD9CE52,
148             'rosetan' => 0xD19C97,
149             'ultramarinegreen' => 0x006B54,
150             'firedbrick' => 0x6A2E2A,
151             'peachnougat' => 0xE6AF91,
152             'magentapurple' => 0x6C244C,
153             'marigold' => 0xFDAC53,
154             'cerulean' => 0x9BB7D4,
155             'rust' => 0xB55A30,
156             'illuminating' => 0xF5DF4D,
157             'frenchblue' => 0x0072B5,
158             'greenash' => 0xA0DAA9,
159             'burntcoral' => 0xE9897E,
160             'mint' => 0x00A170,
161             'amethystorchid' => 0x926AA6,
162             'raspberrysorbet' => 0xD2386C,
163             'inkwell' => 0x363945,
164             'ultimategray' => 0x96999b,
165             'buttercream' => 0xEFE1CE,
166             'desertmist' => 0xE0B589,
167             'willow' => 0x9A8B4F,
168             'veryperi' => 0x696aad,
169             'spunsugar' => 0xb8deec,
170             'gossamerpink' => 0xf9c5c2,
171             'innuendo' => 0xc43f66,
172             'skydiver' => 0x1e609e,
173             'daffodil' => 0xfdc04e,
174             'glacierlake' => 0x84a2bb,
175             'harborblue' => 0x16737f,
176             'cocamocha' => 0x8c725f,
177             'dahliamauve' => 0xa64f82,
178             'poinciana' => 0xc94235,
179             'snowwhite' => 0xf2f0eb,
180             'perfectlypale' => 0xd5ccc1,
181             'basil' => 0x829f82,
182             'northerndroplet' => 0xbdc0bf,
183             'poppyseed' => 0x66686c,
184             'lavafalls' => 0x9f383a,
185             'samoansun' => 0xf5cc72,
186             # 'orangetiger' => 0xfe7133, # selected twice
187             'roseviolet' => 0xc15391,
188             'amazon' => 0x1C734B,
189             'nosegay' => 0xf0c0d8,
190             'waterspout' => 0x93dbe0,
191             'caramelcafe' => 0x8b5a3e,
192             'midnight' => 0x315d78,
193             # 'martiniolive' => 0x776f57, # selected twice
194             'arcticwolf' => 0xe6decf,
195             'autumnblonde' => 0xf2d6b3,
196             'polarnight' => 0x434550,
197             'lodenfrost' => 0x758e77,
198             'chiseledstone' => 0x8f8f93,
199             };
200             }
201              
202             1;
203              
204             =encoding utf8
205              
206             =head1 NAME
207              
208             Graphics::ColorNames::PantoneReport - RGB values of Pantone Report colors
209              
210             =head1 SYNOPSIS
211              
212             require Graphics::ColorNames::PantoneReport;
213              
214             $NameTable = Graphics::ColorNames::PantoneReport->NamesRgbTable();
215             $RgbBlack = $NameTable->{'airyblue'};
216              
217             =head1 DESCRIPTION
218              
219             See the documentation of L for information how to use
220             this module.
221              
222             This module defines 184 names and associated RGB values of colors that were
223             part of the annual report of the I from 2016 to 2022.
224             They reflect trends at the I and should not be
225             mistaken for the colors of the palette created by Pantone for Designers,
226             which can be accessed via L. I choose
227             TPX (TPG) over TCX values since ladder are specific to the textile industry
228             and I assume usage of this module is monitor related. However, when no
229             TPX (TPG) available we took TCX, since I dont have the exact conversion
230             formula.
231              
232             All names are lower case and do not contain space or apostrophes or other
233             none ASCII characters - the originally named C<"Potter's Clay"> is
234             here C<"pottersclay"> and C<'Crème de Peche'> => C<'cremedepeche'>.
235              
236             =head1 SEE ALSO
237              
238             Pantone Report Colors L
239              
240             Encycolorpedia L
241              
242             =head1 AUTHOR
243              
244             Herbert Breunung
245              
246             Based on L by Robert Rothenberg.
247              
248             =head1 LICENSE
249              
250             Copyright 2022 Herbert Breunung
251              
252             This program is free software; you can redistribute it
253             and/or modify it under the same terms as Perl itself.
254              
255             =cut