#' Color Palletes Usefull for NLCD, CDL and NED plotting
#'
#' Color pallets for visualizing land use and elevation raster data
#'
#' @author
#' Mike Johnson
col_elev<-c("#06407F",
"#317A9D",
"#4ABEBB",
"#40AE89",
"#467B5D",
"#3C6D4D", "#1A572E", "#034C00", "#045D03", "#6C975F", "#6B823A",
"#88A237", "#C5D16B", "#DDE580", "#FFF6AE", "#FBCB81", "#F0B16A",
"#F2B16D", "#D18338", "#B16F33", "#825337", "#66422A", "#4F2C0C")
col_lc <- data.frame(
class = c(NA,
"water", "water",
"developed", "developed", "developed", "developed",
"barren",
"forest", "forest", "forest",
"shrubland", "shrubland",
"herbaceous", "herbaceous", "herbaceous", "herbaceous",
"planted", "planted",
"wetlands", "wetlands"),
code = c(0,
11, 12,
21, 22, 23, 24,
31,
41, 42, 43,
51, 52,
71, 72, 73, 74,
81, 82,
90, 95),
description = c("none",
"Open Water", "Perennial Ice/Snow",
"Developed, Open Space", "Developed, Low Intensity", "Developed, Medium Intensity", "Developed, High Intensity",
"Barren Land (Rock/Sand/Clay)",
"Deciduous Forest", "Evergreen Forest", "Mixed Forest",
"Dwarf Scrub", "Scrub/Shrub",
"Grassland/Herbaceous", "Sedge/Herbaceuous", "Lichens", "Moss",
"Pasture/Hay", "Cultivated Crops",
"Woody Wetlands", "Emergent Herbaceous Wetlands"),
color = c("#000000",
"#476BA0", "#D1DDF9",
"#DDC9C9", "#D89382", "#ED0000", "#AA0000",
"#B2ADA3",
"#68AA63", "#1C6330", "#B5C98E",
"#A58C30", "#CCBA7C",
"#E2E2C1", "#C9C977", "#99C147", "#77AD93",
"#DBD83D", "#AA7028",
"#BAD8EA", "#70A3BA"),
stringsAsFactors = FALSE)
col_crops = data.frame(
value = c(0:254),
classes = c("Background",
"Corn",
"Cotton",
"Rice",
"Sorghum",
"Soybeans",
"Sunflower",
NA,
NA,
NA,
"Peanuts",
"Tobacco",
"Sweet Corn",
"Pop or Orn Corn",
"Mint",
NA,
NA,
NA,
NA,
NA,
NA,
"Barley",
"Durum Wheat",
"Spring Wheat",
"Winter Wheat",
"Other Small Grains",
"Dbl Crop WinWht/Soybeans",
"Rye",
"Oats",
"Millet",
"Speltz",
"Canola",
"Flaxseed",
"Safflower",
"Rape Seed",
"Mustard",
"Alfalfa",
"Other Hay/Non Alfalfa",
"Camelina",
"Buckwheat",
NA,
"Sugarbeets",
"Dry Beans",
"Potatoes",
"Other Crops",
"Sugarcane",
"Sweet Potatoes",
"Misc Vegs & Fruits",
"Watermelons",
"Onions",
"Cucumbers",
"Chick Peas",
"Lentils",
"Peas",
"Tomatoes",
"Caneberries",
"Hops",
"Herbs",
"Clover/Wildflowers",
"Sod/Grass Seed",
"Switchgrass",
"Fallow/Idle Cropland",
NA,
"Forest",
"Shrubland",
"Barren",
"Cherries",
"Peaches",
"Apples",
"Grapes",
"Christmas Trees",
"Other Tree Crops",
"Citrus",
NA,
"Pecans",
"Almonds",
"Walnuts",
"Pears",
NA,
NA,
NA,
"Clouds/No Data",
"Developed",
"Water",
NA,
NA,
NA,
"Wetlands",
"Nonag/Undefined",
NA,
NA,
NA,
"Aquaculture",
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
"Open Water",
"Perennial Ice/Snow",
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
"Developed/Open Space",
"Developed/Low Intensity",
"Developed/Med Intensity",
"Developed/High Intensity",
NA,
NA,
NA,
NA,
NA,
NA,
"Barren",
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
"Deciduous Forest",
"Evergreen Forest",
"Mixed Forest",
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
"Shrubland",
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
"Grass/Pasture",
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
"Woody Wetlands",
NA,
NA,
NA,
NA,
"Herbaceous Wetlands",
NA,
NA,
NA,
NA,
NA,
NA,
NA,
NA,
"Pistachios",
"Triticale",
"Carrots",
"Asparagus",
"Garlic",
"Cantaloupes",
"Prunes",
"Olives",
"Oranges",
"Honeydew Melons",
"Broccoli",
NA,
"Peppers",
"Pomegranates",
"Nectarines",
"Greens",
"Plums",
"Strawberries",
"Squash",
"Apricots",
"Vetch",
"Dbl Crop WinWht/Corn",
"Dbl Crop Oats/Corn",
"Lettuce",
NA,
"Pumpkins",
"Dbl Crop Lettuce/Durum Wht",
"Dbl Crop Lettuce/Cantaloupe",
"Dbl Crop Lettuce/Cotton",
"Dbl Crop Lettuce/Barley",
"Dbl Crop Durum Wht/Sorghum",
"Dbl Crop Barley/Sorghum",
"Dbl Crop WinWht/Sorghum",
"Dbl Crop Barley/Corn",
"Dbl Crop WinWht/Cotton",
"Dbl Crop Soybeans/Cotton",
"Dbl Crop Soybeans/Oats",
"Dbl Crop Corn/Soybeans",
"Blueberries",
"Cabbage",
"Cauliflower",
"Celery",
"Radishes",
"Turnips",
"Eggplants",
"Gourds",
"Cranberries",
NA,
NA,
NA,
"Dbl Crop Barley/Soybeans"),
colors = c('#000000',
'#FFD200',
'#FF2525',
'#00A8E4',
'#FF9D0B',
'#257000',
'#FFFF00',
'#000000',
'#000000',
'#000000',
'#70A400',
'#00AF4B',
'#DDA40B',
'#DDA40B',
'#7ED2FF',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#E2007C',
'#896354',
'#D7B56A',
'#A47000',
'#D69DBC',
'#707000',
'#AC007C',
'#9F5889',
'#700049',
'#D69DBC',
'#D0FF00',
'#7E99FF',
'#D6D600',
'#D0FF00',
'#00AF4B',
'#FFA4E2',
'#A4F18B',
'#00AF4B',
'#D69DBC',
'#000000',
'#A800E4',
'#A40000',
'#702500',
'#00AF4B',
'#B17EFF',
'#702500',
'#FF6666',
'#FF6666',
'#FFCC66',
'#FF6666',
'#00AF4B',
'#00DDAF',
'#54FF00',
'#F1A377',
'#FF6666',
'#00AF4B',
'#7ED2FF',
'#E8BEFF',
'#AFFFDD',
'#00AF4B',
'#BEBE77',
'#000000',
'#92CC92',
'#C5D69D',
'#CCBEA3',
'#FF00FF',
'#FF8DAA',
'#BA004F',
'#704489',
'#007777',
'#B19B70',
'#FFFF7E',
'#000000',
'#B5705A',
'#00A482',
'#EAD6AF',
'#B19B70',
'#000000',
'#000000',
'#000000',
'#F1F1F1',
'#9B9B9B',
'#4B70A3',
'#000000',
'#000000',
'#000000',
'#7EB1B1',
'#E8FFBE',
'#000000',
'#000000',
'#000000',
'#00FFFF',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#4B70A3',
'#D2E2F8',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#9B9B9B',
'#9B9B9B',
'#9B9B9B',
'#9B9B9B',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#CCBEA3',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#92CC92',
'#92CC92',
'#92CC92',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#C5D69D',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#00FF00',
'#000000',
'#000000',
'#000000',
'#000000',
'#E7FFBE',
'#000000',
'#000000',
'#000000',
'#000000',
'#00FF00',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#7EB1B1',
'#000000',
'#000000',
'#000000',
'#000000',
'#7EB1B1',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#000000',
'#00FF8B',
'#D69DBC',
'#FF6666',
'#FF6666',
'#FF6666',
'#FF6666',
'#FF8DAA',
'#334933',
'#E47025',
'#FF6666',
'#FF6666',
'#000000',
'#FF6666',
'#B19B70',
'#FF8DAA',
'#FF6666',
'#FF8DAA',
'#FF6666',
'#FF6666',
'#FF8DAA',
'#00AF4B',
'#FFD200',
'#FFD200',
'#FF6666',
'#000000',
'#FF6666',
'#896354',
'#FF6666',
'#FF2525',
'#E2007C',
'#FF9D0B',
'#FF9D0B',
'#A47000',
'#FFD200',
'#A47000',
'#257000',
'#257000',
'#FFD200',
'#000099',
'#FF6666',
'#FF6666',
'#FF6666',
'#FF6666',
'#FF6666',
'#FF6666',
'#FF6666',
'#FF6666',
'#FFD200',
'#257000',
'#A47000',
'#257000'),
stringsAsFactors = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.