forked from LaconicNetwork/cosmos-explorer
improve svg and background
This commit is contained in:
+2
-2
@@ -132,8 +132,8 @@ export function rgbToHsl(color: string) {
|
||||
// console.log(r,g,b, '88')
|
||||
const max = Math.max(r, g, b);
|
||||
const min = Math.min(r, g, b);
|
||||
let h,
|
||||
s,
|
||||
let h = 0,
|
||||
s = 0,
|
||||
l = (max + min) / 2;
|
||||
|
||||
if (max == min) {
|
||||
|
||||
Reference in New Issue
Block a user