org.apache.poi.hssf.util.HSSFColor.getIndexHash() returns the incorrect mapping for HSSFColor.TURQUOISE. Additionally, not all colors in the standard palette are represented. Attached patch fixes mapping for HSSFColor.TURQUOISE, adds missing colors, and adds repeated mappings (e.g., HSSFColor.BLUE is at index 0xc and 0x27).
Created attachment 4262 [details] Unified diff; patch for HSSFColor
applied. Please cross check. Thanks.