Weather-GHCN-Fetch
view release on metacpan or search on metacpan
lib/Weather/GHCN/StationTable.pm view on Meta::CPAN
# The range of values for any one color is 0 to 255 (00 to ff). For
# alpha, 00 is fully transparent and ff is fully opaque. The order of
# expression is aabbggrr, where:
#
# aa=alpha (00 to ff)
# bb=blue (00 to ff)
# gg=green (00 to ff)
# rr=red (00 to ff).
#
# For example, if you want to apply a blue color with 50 percent opacity
# to an overlay, you would specify the following:
# <color>7fff0000</color>,
# where alpha=0x7f, blue=0xff, green=0x00, and red=0x00.
my %kml_colors = (
b => [ 'blue', 'ff780000' ],
g => [ 'grn', 'ff147800' ],
a => [ 'ltblu', 'ffF06414' ], # 'a' for azure
p => [ 'purple','ff780078' ],
r => [ 'red', 'ff1400FF' ],
w => [ 'wht', 'ffFFFFFF' ],
( run in 0.421 second using v1.01-cache-2.11-cpan-65fba6d93b7 )