showColor

版本 1.0.0 (1.5 KB) 作者: Robert Watson
Display a colorswatch of the given RGB value
3.0 次下载
更新时间 2025/1/18

查看许可证

A simple utility function to make working with colors easier, adding a method for quick visualization.
Pass in a 1x3 RGB color vector to generate a color swatch, a small image plot showing only that color.
Accepts floating point values in the range of 0 to 1 or numbers with integer value in the range 0 to 255.

引用格式

Robert Watson (2025). showColor (https://ww2.mathworks.cn/matlabcentral/fileexchange/179314-showcolor), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2024b
与 R2019b 及更高版本兼容
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0