GETRGB (v1.0)

Get RGB triplet of matlab color name

Vous suivez désormais cette soumission

GETRGB returns the RGB triplet for matlab color strings, like 'yellow' or 'm'.

getrgb('y') --> [1 1 0]

Version 1.0 (april 2008)

Citation pour cette source

Jos (10584) (2026). GETRGB (v1.0) (https://fr.mathworks.com/matlabcentral/fileexchange/19461-getrgb-v1-0), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : str2rgb

A inspiré : Convert between RGB and Color Names

Catégories

En savoir plus sur Images dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0