# Converting


```ts
import { hsvaToRgba, hsvaToHsla, hslaToHsva } from "chroma-panel";
```

## API reference

<SignatureList names="hsvaToRgba, rgbaToHsva, hsvaToHsla, hslaToHsva, hsvaToHwba, hwbaToHsva" />

## Keeping hue and saturation

HSV has two places where information disappears. At zero saturation there is no
hue to speak of, and at zero brightness there is neither. Converting away from
HSVA and back loses them.

If you are round-tripping a colour through another model, keep the original HSVA
and merge into it:

<Signature name="ingest" />

## Comparing and clamping

<SignatureList names="sameHsva, clamp, normalizeHue" />
