jpuck/color-mixer
Composer 安装命令:
composer require jpuck/color-mixer
包简介
Mix CSS colors like paint.
README 文档
README
Mix CSS colors like paint.
Supports the CSS color keywords up to Color Module Level 4 and
hexadecimal values with or without a leading hash #
See example.php for some basic usage mixing 5 colors.
The background color and the 6th panel are the mix of the given colors.
use jpuck\ColorMixer\Mixer; $colors = [ 'rebeccapurple', '#33Ab42', '000000', '#00f', 'red', ]; $mix = ( new Mixer(...$colors) )->mix()->hex();
Installation
Requires PHP 7
Registered on packagist for easy installation using composer.
composer require jpuck/color-mixer
| Branch | Status |
|---|---|
| master |
统计信息
- 总下载量: 673
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2017-01-15
