toString(16); See the Pen Generate New Random Hex Color. ... then join the resulting string to create a valid hex color code all the time.
確定! 回上一頁