This uses R-colors table to translate color names to RGB [0-1] triplets.
examples:
colors
Opens a figure with all colors. Click on one to know its name and RGB triplet.
colors('violet')
ans =
0.9333 0.5098 0.9333
colors({'blue4','orchid'})
ans =
0 0 0.5451
0.8549 0.4392 0.8392
인용 양식
Maximilien Chaumon (2025). colors(name) (https://www.mathworks.com/matlabcentral/fileexchange/56006-colors-name), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Contrast Adjustment >
Help Center 및 MATLAB Answers에서 Contrast Adjustment에 대해 자세히 알아보기
태그
도움
도움 준 파일: Convert between RGB and Color Names
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 | add figure |