Excel Guides

Official Color Names in VBA

There are a total of 16 colors in the VBA color palette. Each color has a unique name that can be used to reference it in code. The colors are:

  • Black
  • Blue
  • Cyan
  • DarkBlue
  • DarkCyan
  • DarkGray
  • DarkGreen
  • DarkMagenta
  • DarkRed
  • DarkYellow
  • Gray
  • Green
  • LightGray

Move beyond 


Get started with Causal today.
Build models effortlessly, connect them directly to your data, and share them with interactive dashboards and beautiful visuals.