rgbhex

1.0.2 • Public • Published

rgbhex

rgb 颜色与 hex 颜色相互转换,为 IOS 的 colorWithRed 方法提供方便。


1. 安装

从 npm 安装

$ npm install rgbhex -g

从 Github 安装

$ git clone git@github.com:silentcloud/rgbhex.git
$ cd rgbhex
$ npm install -g

3. 实例

$ rgbhex 255,255,255

$ rgbhex f11

/rgbhex/

    Package Sidebar

    Install

    npm i rgbhex

    Weekly Downloads

    2

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • silentcloud