Brush Tool : #615 - Brush tool do not (always) used selected color

Fix rgb to hsv conversion