| col2kml | R Documentation |
Converts some common color formats (internal R colors, hexadecimal format, Munsell color codes) color to KML format.
col2kml(colour)
colour |
R color string |
KML-formatted color as \#aabbggrr where aa=alpha (00 to ff), bb=blue (00 to ff), gg=green (00 to ff), rr=red (00 to ff).
Pierre Roudier, Tomislav Hengl and Dylan Beaudette
aqp::munsell2rgb
col2kml("white")
col2kml(colors()[2])
hex2kml(rgb(1,1,1))
x <- munsell2kml("10YR", "2", "4")
kml2hex(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.