Original: The color is assigned based on the color of the God who protects the day or Navagraha.
Simplified: The color is based on the color of the God who protects the day or Navagraha.