Colormix

版本 1.0.0.0 (3.0 KB) 作者: Jurgen
Combine basic colors with string syntax to create any RGB color.
432.0 次下载
更新时间 2013/5/1

查看许可证

Using flexible syntax to denote color composition in terms of basic colors, colormix creates an RGB vector with the colors mixed according to one of three mixing modes.

Basic colors are: red, green, blue, cyan, magenta, yellow, black, white.
Used standard MATLAB color string shorthands.

E.g. RGB = colormix('cwCg') combines two parts cyan, one part white and one part green to create a new RGB color.
Order and case do not matter.
May also use numbers: colormix('10kr') has 10 parts black to one part red.

Mixing modes are linear combination and the additive- and subtractive light models.

引用格式

Jurgen (2024). Colormix (https://www.mathworks.com/matlabcentral/fileexchange/41595-colormix), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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