@palett/convert
Advanced tools
Comparing version 0.7.8 to 0.7.9
@@ -153,2 +153,4 @@ 'use strict'; | ||
const intToRgb = n => [n >> 16 & 0xFF, n >> 8 & 0xFF, n & 0xFF]; | ||
exports.hexToHsl = hexToHsl; | ||
@@ -159,4 +161,5 @@ exports.hexToInt = hexToInt; | ||
exports.hslToRgb = hslToRgb; | ||
exports.intToRgb = intToRgb; | ||
exports.rgbToHex = rgbToHex; | ||
exports.rgbToHsl = rgbToHsl; | ||
exports.rgbToInt = rgbToInt; |
@@ -149,2 +149,4 @@ import { round } from '@aryth/math'; | ||
export { hexToHsl, hexToInt, hexToRgb, hslToHex, hslToRgb, rgbToHex, rgbToHsl, rgbToInt }; | ||
const intToRgb = n => [n >> 16 & 0xFF, n >> 8 & 0xFF, n & 0xFF]; | ||
export { hexToHsl, hexToInt, hexToRgb, hslToHex, hslToRgb, intToRgb, rgbToHex, rgbToHsl, rgbToInt }; |
{ | ||
"name": "@palett/convert", | ||
"version": "0.7.8", | ||
"version": "0.7.9", | ||
"description": "A color converter among RGB, HEX and HSL.", | ||
@@ -18,3 +18,3 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@aryth/math": "^0.3.16" | ||
"@aryth/math": "^0.3.19" | ||
}, | ||
@@ -44,3 +44,3 @@ "repository": { | ||
"homepage": "https://github.com/hoyeungw/palett/rgb#readme", | ||
"gitHead": "ffbf1bc4f866bee517884ee6ded22e256c0ba8ff" | ||
"gitHead": "122d02cbfff85a82d703afb1ee1a30b38789cd02" | ||
} |
8828
254
Updated@aryth/math@^0.3.19