如何从RGB值生成颜色名称? [英] How to generate color name from RGB Values?

查看:157
本文介绍了如何从RGB值生成颜色名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

其实我使用颜色扩展工具生成颜色....当我选择颜色时,这个工具只返回十六进制值...但我需要生成颜色名称...如何生成颜色此十六进制或RGB值的名称????

解决方案

您必须在包含RECOGNIZED颜色的查找表中交叉引用RGB值

http://www.cambiaresearch.com/articles / 25 / convert-hex-string-to-dotnet-color [ ^ ]



享受


Actually i using color extender tool to generate the colors....while i''m picking the colors, this tools return only hexadecimal values ...but i need to generate color name too...How to generate color name from this hex or RGB values????

解决方案

You will have to cross reference the RGB values in a lookup table which contains the RECOGNISED colors


http://www.cambiaresearch.com/articles/25/convert-hex-string-to-dotnet-color[^]

Enjoy


这篇关于如何从RGB值生成颜色名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆