DEV Community

Discussion on: Daily Challenge #158 - RGB To Hex Conversion

Collapse
 
lffg profile image
Luiz Felipe Gonçalves • Edited

String.prototype.padStart would handle the addZeroes trick for you. ;)

Collapse
 
quozzo profile image
Quozzo • Edited

I got really confused when the link opened in Portuguese. I had to check my VPN 😆

Thread Thread
 
lffg profile image
Luiz Felipe Gonçalves

Whoops! Sorry about that. :P Should be fixed now.