Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps KML: 8-Digit Hex Code

I am new to Google Maps and KML. I have my KML file rendering polygons on my map, but I would like to change the color of the fill on the pollygon and the polygon's line color.

The problem is that I am having trouble creating colors in 8-digit hex. Every time I think I have the color right, it doesn't render like I think it would. I can't seem to find a color editor anywhere that would allow me to generate the 8-digit hex code that I need.

Do you guys know of such an editor (Paint.NET doesnt seem to support 8-digit) or some other way to easily generate an 8-digit code?

Thanks!

like image 341
flying227 Avatar asked Oct 23 '12 16:10

flying227


People also ask

What is 8 digit hex code?

Eight-digit hex notation consists of a hash symbol ( # ), followed by eight characters. The first six characters represent the RGB (red, green, blue) value of the color, the last two represent the alpha chanel of the color. The RR represents the red component. The GG represents the green component.

What is the color code on Google Maps?

The color code shows you the speed of traffic on the road. Green: No traffic delays. Orange: Medium amount of traffic. Red: Traffic delays.

Can I import KML into Google Maps?

You can import map features like lines, shapes, and places to your map from KML files, spreadsheets and other files.


1 Answers

This is what I use: http://www.zonums.com/gmaps/kml_color/

(this page lets you enter the code)

The hardest part is remembering the order of the pieces (from the spec):

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

The first two digits ("aa"/alpha in aabbggrr) represent the opacity.

like image 194
geocodezip Avatar answered Sep 16 '22 15:09

geocodezip