Created
January 15, 2025 16:50
-
-
Save Klerith/06e97606f531d936641987f394dc1e9f to your computer and use it in GitHub Desktop.
Generador de colores HEX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const color = '#xxxxxx'.replace(/x/g, (y) => | |
((Math.random() * 16) | 0).toString(16) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment