added support for floating num. adjusted color output to hex.