updated color randomizer, allows for custom color visualization now too

This commit is contained in:
zyqunix 2024-12-26 15:57:46 +01:00
parent 71924663d8
commit 4008467462
8 changed files with 106 additions and 8 deletions

View file

@ -9,8 +9,17 @@
</head>
<body>
<div id="offscreenalert">Copied to clipboard!</div>
<button id="colorButton">Get Random Color</button>
<button class="colors" id="colorButton">Get Random Color</button>
<div class="input">
<input class="colors" type="text" name="input color" id="colorInput" placeholder="Your Color" maxlength="7">
<button class="inputButton" id="inputButton" type="button">Enter</button>
</div>
<p>Press the hexadecimal to copy the color!</p>
<p class="hint" id="hint"></p>
<div id="main" class="main">
<div id="fullColor">Press the button to get a color!</div>
</div>