rgb.m

版本 1.0.0.0 (3.7 KB) 作者: Ben Mitch
Convert colour names (blue,teal,pale green) into RGB triplets.
8.9K 次下载
更新时间 2002/6/7

查看许可证

rgb(col) returns a Matlab RGB colour triplet [R G B] converted from 'col'.

'col' can be:
an [R G B] triplet (unchanged)
a colour name, e.g. 'pale orange'
a matlab colour char (k,r,...)
a QBASIC colour code (0-15)
a DWORD colour code (0-0xFFFFFF)
a DWORD BGR colour code

引用格式

Ben Mitch (2024). rgb.m (https://www.mathworks.com/matlabcentral/fileexchange/1805-rgb-m), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R12
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Modify Image Colors 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0