#228B22
Leaf Green
#8B4513
Bark Brown
#8FBC8F
Moss Green
#87CEEB
Sky Blue
#F5F5DC
Earthy Beige
Palette Description
Here is a color palette inspired by the forest:
json
{
"palette_name": "Forest Palette",
"colors": [
{
"name": "Leaf Green",
"hex_code": "
#228B22
"
},
{
"name": "Bark Brown",
"hex_code": "
#8B4513
"
},
{
"name": "Moss Green",
"hex_code": "
#8FBC8F
"
},
{
"name": "Sky Blue",
"hex_code": "
#87CEEB
"
},
{
"name": "Earthy Beige",
"hex_code": "
#F5F5DC
"
}
]
}
This “Forest Palette” reflects the rich colors of a forest environment, including the vibrant greens of leaves, the earthy tones of bark, and hints of sky and soil.
Here’s a simple VBA code snippet that you can use in Excel to apply this forest palette to your worksheet:
vba
Sub ApplyForestPalette()
Dim forestColors As Variant
forestColors = Array("
#228B22
", "
#8B4513
", "
#8FBC8F
", "
#87CEEB
", "
#F5F5DC
")
Dim i As Integer
For i = LBound(forestColors) To UBound(forestColors)
ActiveWorkbook.Colors(i + 1) = RGB(CLng("&H" & Mid(forestColors(i), 2, 2)), _
CLng("&H" & Mid(forestColors(i), 4, 2)), _
CLng("&H" & Mid(forestColors(i), 6, 2)))
Next i
' Apply the colors to the range
With ActiveSheet.Range("A1:E1")
.Interior.ColorIndex = 1 ' Set to your preferred background color
.Font.ColorIndex = 2 ' Set to your preferred font color
End With
' Fill the cells with forest colors
For i = 0 To UBound(forestColors)
ActiveSheet.Cells(1, i + 1).Interior.Color = ActiveWorkbook.Colors(i + 1)
Next i
End Sub
This code will set the first five columns of your active sheet with the forest colors you specified. What specific features do you want to implement in your Excel sheet using this palette?