rgb.m
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
Cita come
Ben Mitch (2024). rgb.m (https://www.mathworks.com/matlabcentral/fileexchange/1805-rgb-m), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Graphics > Images > Modify Image Colors >
Tag
Riconoscimenti
Ispirato: Explore - Scientific Workflow Management Tool, Convert between RGB and Color Names, PeterRochford/SkillMetricsToolbox, Hyperplot Tools
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |