name2rgb

버전 1.0.0.0 (1.63 KB) 작성자: Peder Axensten
Return the rgb vector of a color name.
다운로드 수: 2.1K
업데이트 날짜: 2006/7/24

라이선스 보기

USAGE: color_vector= name2rgb(color_name)

Return the rgb vector of a color name.

EXAMPLE:
name2rgb2({'r', 'blue', 'pp', 'y'})
ans = 1 0 0 0 0 1 NaN NaN NaN 1 1 0

HISTORY:
Version 1.0, 2006-07-19.
Version 1.1, 2006-07-22:
- Much more efficient (and elegant?) code, thanks to Urs (us) Schwarz!

Copyright (C) Peder Axensten <peder@axensten.se>

인용 양식

Peder Axensten (2024). name2rgb (https://www.mathworks.com/matlabcentral/fileexchange/11750-name2rgb), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14SP1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Image Arithmetic에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

- Much more efficient (and elegant?) code, thanks to Urs (us) Schwarz!