Uppercase color

This commit is contained in:
Jean Ouina 2020-07-12 11:12:20 +02:00
parent b061ae0d41
commit d3494666a2
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export default new class Utils {
}
DecimalColorToHex(color:number):string{
return "#"+color.toString(16)
return "#"+color.toString(16).toUpperCase()
}
HexColorToDecimal(color:string):number{