区域_PHP

WBOY
WBOYOriginal
2016-06-01 12:36:151048browse

如果你想做个颜色列表是否在头痛那么多颜色如何才能列完?

如果你需要让用户选择颜色,但又怕没考虑到颜色代码怎么办?

用rgb(255,255,255)还是用#FFFFFF还是用0x666666好呢?

今天我也碰到了这个问题,顺便就想了个方法,既然想出来了那大家就来共享一下~,

Code:
____________________________________

附加一个



OK,这样你的颜色就是千变万化了,不用担心颜色列不完了~,呵呵

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn