withChroma
Creates a new instance of the implementing type with the specified chroma value.
Return
A new instance of the implementing type with the updated chroma value.
Parameters
chroma
The chroma value for the new instance.
Creates a new instance of the implementing type with the specified chroma value.
A new instance of the implementing type with the updated chroma value.
The chroma value for the new instance.