How do I transform HCL to RGB colormap?
5 次查看(过去 30 天)
显示 更早的评论
Hi,
I'd like to write a script to generate HCL colormap, and then transform it to RGB. Can anyone help with the transformation?
Thank you, Guy
1 个评论
Guillaume
2018-3-12
Can you please clarify that you are actually talking about this HCL colour space and not HSL or HSV or some other colour space.
As far as I know, HCL is not used much. It's not a colour space directly supported by matlab although nothing stops you from writing your own conversion formula.
回答(2 个)
Abhishek Ballaney
2018-3-12
https://in.mathworks.com/help/matlab/ref/hsv2rgb.html
1 个评论
Guillaume
2018-3-12
编辑:Guillaume
2018-3-12
@Abishek, all your answers appear to be (non-working) links to the doc with no comment whatsoever. That's fairly low quality in my opinion, and you could at least make them hyperlink.
Additionally in this case, your answer is not remotely helpful because the HCL colour space is not the same at all as the HSV colour space.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Orange 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!