rgb-hex:将RGB颜色转换为十六进制-源码

上传者: 42178688 | 上传时间: 2021-05-12 10:03:22 | 文件大小: 5KB | 文件类型: ZIP
rgb-hex 将RGB(A)颜色转换为十六进制 安装 $ npm install rgb-hex 用法 import rgbHex from 'rgb-hex' ; rgbHex ( 65 , 131 , 196 ) ; //=> '4183c4' rgbHex ( 'rgb(40, 42, 54)' ) ; //=> '282a36' rgbHex ( 65 , 131 , 196 , 0.2 ) ; //=> '4183c433' rgbHex ( 40 , 42 , 54 , '75%' ) ; //=> '282a36bf' rgbHex ( 'rgba(40, 42, 54, 75%)' ) ; //=> '282a36bf' 有关的 此模块的CLI 将十六进制颜色转换为RGB

文件下载

资源详情

[{"title":"( 12 个子文件 5KB ) rgb-hex:将RGB颜色转换为十六进制-源码","children":[{"title":"rgb-hex-main","children":[{"title":"index.js <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"test.js <span style='color:#111;'> 685B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 681B </span>","children":null,"spread":false},{"title":"index.test-d.ts <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"readme.md <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"main.yml <span style='color:#111;'> 436B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"license <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'> 499B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":".npmrc <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":".gitattributes <span style='color:#111;'> 19B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明