termcol: use rgb index instead of value for hsv calculation