rgb.m

Version 1.0.0.0 (3,71 KB) von Ben Mitch
Convert colour names (blue,teal,pale green) into RGB triplets.
8,9K Downloads
Aktualisiert 7 Jun 2002

Lizenz anzeigen

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

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R12
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Modify Image Colors 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