diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:10:59 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:41:44 +0800 |
| commit | fc87c009806dcc98867f6b58efe29b042aa01dee (patch) | |
| tree | 8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /node_modules/rgb-hex/readme.md | |
| parent | 3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff) | |
node: updatemain
Diffstat (limited to 'node_modules/rgb-hex/readme.md')
| -rw-r--r-- | node_modules/rgb-hex/readme.md | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/node_modules/rgb-hex/readme.md b/node_modules/rgb-hex/readme.md deleted file mode 100644 index 528c91a4..00000000 --- a/node_modules/rgb-hex/readme.md +++ /dev/null @@ -1,43 +0,0 @@ -# rgb-hex [](https://travis-ci.org/sindresorhus/rgb-hex) - -> Convert RGB(A) color to HEX - - -## Install - -``` -$ npm install rgb-hex -``` - - -## Usage - -```js -const rgbHex = require('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' -``` - - -## Related - -- [rgb-hex-cli](https://github.com/sindresorhus/rgb-hex-cli) - CLI for this module -- [hex-rgb](https://github.com/sindresorhus/hex-rgb) - Convert HEX color to RGB - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) |
