Make the code more pythonic
Make the code more pythonic

Calculate _ref_u and _ref_v from the CIE1931 D65 white point
Use division to calculate _kappa and _epsilon
Use ** operator rather than math.pow where possible
Use math.degrees and math.radians for angle unit conversions
In luv_to_lch, use math.hypot
In luv_to_lch, eliminate _v because it would never be negative
Greatly simplify these functions: _max_safe_chroma_for_l, _max_chroma_for_lh, _dot_product, rgb_to_hex, and hex_to_rgb

hsluv/hsluv-python,husl-colors/husl.py