Colormix

Version 1.0.0.0 (3 KB) von Jurgen
Combine basic colors with string syntax to create any RGB color.
432 Downloads
Aktualisiert 1. Mai 2013

Lizenz anzeigen

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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Images finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0