fix getHex and setHex for ofFloatColor and ofShortColor

would close #1487.