Converting from an HCL data frame, as_mat_luv() has a default chroma_min of 0.01. This is done so that we can preserve the hue information when the chroma is zero.
In practice, we this "gap" will have no perceptual difference.
In theory, we should be able to set the floor much lower, e.g. 1.e-6. There seems to be some rounding errors introduced by the farver color-conversion functions. Given that HCL <-> LUV is a polar transformation, we should be able to do this ourselves without risk.
Converting from an HCL data frame,
as_mat_luv()
has a defaultchroma_min
of0.01
. This is done so that we can preserve the hue information when the chroma is zero.In practice, we this "gap" will have no perceptual difference.
In theory, we should be able to set the floor much lower, e.g.
1.e-6
. There seems to be some rounding errors introduced by the farver color-conversion functions. Given that HCL <-> LUV is a polar transformation, we should be able to do this ourselves without risk.