Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Random HEX color

const hexColor = () => `#${Math.floor(Math.random() * 0xffffff).toString(16).padEnd(6, "0")}`;
Source by devdojo.com #
 
PREVIOUS NEXT
Tagged: #Random #HEX #color
ADD COMMENT
Topic
Name
4+4 =