mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-03 20:40:48 +08:00
parent
994d1bc609
commit
ed76a77397
1 changed files with 1 additions and 1 deletions
|
@ -822,7 +822,7 @@ export function convertRGBtoHEX(rgb: string): string | undefined {
|
|||
|
||||
return ("0" + parseInt(i).toString(16)).slice(-2);
|
||||
}
|
||||
return "#" + hexCode(rgb[1]) + hexCode(rgb[2]) + hexCode(rgb[3]);
|
||||
return "#" + hexCode(match[1]) + hexCode(match[2]) + hexCode(match[3]);
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
|
|
Loading…
Reference in a new issue