Given Color 5 allows loading of custom color profiles, those loaded spaces should be available to use in CSS Images 4 with gradients like:
@color-profile --myspace {
src: url(https://myspace.colors/imaginary-path.icc);
}
.card {
color: color(--myspace 200 50 50);
background: linear-gradient(to bottom right in --myspace,
color(--myspace 200 50 50),
color(--myspace 100 50 50)
);
}
or even
.card {
background: linear-gradient(in --myspace, lime, blue);
}