Convert between RGB and Color Names

RGB to color name. Color name to RGB. Supports many palettes: CSS, dvips, HTML, MATLAB, RAL, SVG, X11, xcolor, xkcd,...

ダウンロード
ダウンロード

現在この提出コンテンツをフォロー中です。

編集メモ: This file was selected as MATLAB Central Pick of the Week

引用

Stephen23 (2026). Convert between RGB and Color Names (https://jp.mathworks.com/matlabcentral/fileexchange/48155-convert-between-rgb-and-color-names), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB Answers で Color and Styling についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • R2014b 以降のリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
7.0.6

* Code refactoring
* GUI_VIEW: use LSQMINNORM to determine character extents.

ダウンロード
7.0.5

* Code refactoring
* GUI_*: add release assertion
* GUI_CUBE: workaround for HG1 & HG2 differences

ダウンロード
7.0.4

* Merge callback workspace into figure creation workspace.
* Revise dependency tables.

ダウンロード
7.0.3

* Fix minor bug in CMC l:c.
* Replace UNIQUE(..,'first')
* Rewrite 2D GUI_view

ダウンロード
7.0.2

* Improve error messages.
* Improve HSV conversion.
* Dependencies section.
* R2025a compatibility.

ダウンロード
7.0.1

* Add PowerPoint palettes.
* Add "exact"/"closest" match indicator to COLORNAMES_SEARCH.
* Add error hypercode.
* Documentation improvements.

ダウンロード
7.0.0

* Faster and more flexible color name matching algorithm.
* Add bonus function COLORNAMES_SEARCH showing real-time color name matching.
* Add PicoMiteVGA palette.

ダウンロード
6.1.3

* Error message improvements
* Documentation improvements
* Leading index handling improvements
* Graphics: use CLA to clear axes

ダウンロード
6.1.2

* fix description bullet points

ダウンロード
6.1.1

* Correct description.

ダウンロード
6.1.0

- Add palettes LeCorbusier, OsxCrayons, PWG, Wada, Werner.
- Add OKLab deltaE.
- Support both standard parameter sets for CMC deltaE.
- Support both standard parameter sets for CIE94 deltaE.
- Bonus functions accept string inputs.

ダウンロード
6.0.0

* Accept STRING class text inputs.
* Returns STRING class colornames when palette is a STRING.
* Inbuilt NATSORT routine.
* More flexible color name matching.

ダウンロード
5.0.1

Add notes on how to add a new color palette.

ダウンロード
5.0.0

* Faster color name matching algorithm. Also more flexible, e.g.:
- characters with or without diacritic.
- optional parentheses.
- optional hyphen.
* Add error ID codes.
* VIEW: sort alphabetically excluding leading index.

ダウンロード
4.0.1

* Improve layout of palette descriptions and error messages.
* Permanent scrollbar for much faster COLORNAMES_VIEW.

ダウンロード
4.0.0

* Simplify .mat file structure.
* Add SherwinWilliams palette.

ダウンロード
3.6.0

* Add DIN99 colorspace for viewing and deltaE calculation.
* Add palette Trubetskoy.

ダウンロード
3.5.3

* Add "Thesaurus" and "Tableau" palettes.
* Add feature to print detailed list of supported palettes.
* Correct "xcolor" blue values.
* Now works with >=R2014b graphics engine.

ダウンロード
3.5.2

* Improve online description.

ダウンロード
3.5.2-0

* Remove non-ASCII characters from file.

ダウンロード
3.5.1

* Fixed missing variable in COLORNAMES_CUBE
* Improved indexed-colorname regular expression.

ダウンロード
3.5.0

* VIEW: show RGB value with click on color name.
* Combine into one resistor palette.
* Allow for negative leading integer.

ダウンロード
3.4.0

* Change Lab illuminant to D65.
* Fix bug in camorbit for CUBE.
* Improve help examples.

ダウンロード
3.3.0

* Add AmstradCPC palette.
* Match initial letters for palettes Alphabet, MATLAB, and Natural.

ダウンロード
3.2.0

* Documentation changes.

ダウンロード
3.1.0

* Add CIEDE2000 deltaE color distance calculation.

ダウンロード
3.0.0

* Total rewrite of the RGB matching algorithm.
* Add HTML documentation.

ダウンロード
2.1.0

* Much more robust string matching using Levenshtein distance to pick closest colorname (Wagner–Fischer algorithm).
* Rename supplementary function (deltaE viewer) and add default values.

ダウンロード
2.0.0

* Add lots of colorschemes.
* Add new fields to .MAT file: <spaces> and <indices>.

ダウンロード
1.2.0

* Add Alphabet and Kelly colorschemes.

ダウンロード
1.1.0

- Downloadable as toolbox

ダウンロード
1.0.0

ダウンロード