Uppercase color
This commit is contained in:
parent
b061ae0d41
commit
d3494666a2
|
@ -22,7 +22,7 @@ export default new class Utils {
|
||||||
}
|
}
|
||||||
|
|
||||||
DecimalColorToHex(color:number):string{
|
DecimalColorToHex(color:number):string{
|
||||||
return "#"+color.toString(16)
|
return "#"+color.toString(16).toUpperCase()
|
||||||
}
|
}
|
||||||
|
|
||||||
HexColorToDecimal(color:string):number{
|
HexColorToDecimal(color:string):number{
|
||||||
|
|
Loading…
Reference in New Issue