(color: Color)
| 17 | import {parseColor} from 'react-stately/Color'; |
| 18 | |
| 19 | const hue = (color: Color) => |
| 20 | [0, 60, 120, 180, 240, 300, 360] |
| 21 | .map(hue => color.withChannelValue('hue', hue).toString('css')) |
| 22 | .join(', '); |
| 23 | const saturation = (color: Color) => `${color.withChannelValue('saturation', 0)}, transparent`; |
| 24 | |
| 25 | const hslChannels = { |
nothing calls this directly
no test coverage detected