项目地址:https://github.com/mistic100/RandomColor.php
下载 JS:randomColor.js
下载 PHP:RandomColor.php
Random Color
Options
You can pass an options object to influence the type of color it produces. The options object accepts the following properties:
hue – 控制颜色的色调,你可以输入色彩的颜色名称,例如:red, orange, yellow, green, blue, purple, pink 和 mono… Read More
主页:https://github.com/bgrins/TinyColor
下载 JS :tinycolor.js
TinyColor
JavaScript color tooling
TinyColor is a small, fast library for color manipulation and conversion in JavaScript. It allows many forms of input, while providing color conversions and other color utility functions. It has no dependencies.
用法:
<script type='text/javascript… Read More