The return value for function `k_to_rgb` is wrong, it's actually returning (red,blue,green). https://github.com/esemeniuc/kelvin_rgb/blob/abd34afec694bdcd46a28285912fa9543cd568b7/kelvin_rgb/__init__.py#L87 This also makes the `k_to_rgb_hex` function return incorrect hex strings