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
인용 양식
Ben Mitch (2025). rgb.m (https://www.mathworks.com/matlabcentral/fileexchange/1805-rgb-m), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Graphics > Images > Modify Image Colors >
Help Center 및 MATLAB Answers에서 Modify Image Colors에 대해 자세히 알아보기
태그
도움
도움 준 파일: 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!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |