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!
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.
The color code shows you the speed of traffic on the road. Green: No traffic delays. Orange: Medium amount of traffic. Red: Traffic delays.
You can import map features like lines, shapes, and places to your map from KML files, spreadsheets and other files.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With