refactored to use default color accessor