The function color-rgb-to-hex raises an error when negative values are passed, on Git Emacs.
In the default configuration, these negatives seem to be values under 10^-4 when they occur.
Negative RGB components do not make much sense anyway, so I propose a modification to replace them with 0 values.
Works around #55
The function
color-rgb-to-hex
raises an error when negative values are passed, on Git Emacs. In the default configuration, these negatives seem to be values under 10^-4 when they occur. Negative RGB components do not make much sense anyway, so I propose a modification to replace them with 0 values.