UNPKG

@kcuf/mere-color

Version:

Mere color utils for generating, manipulation, a11y purposes.

9 lines 199 B
import _round from 'lodash/round'; export default function normalizeHue(hue) { var h = hue % 360; if (h < 0) { h += 360; } return _round(h, 1); } //# sourceMappingURL=normalize-hue.js.map