<section>
<input type="color" id="color-picker"  value="#43da86" />
  <label for="color-picker">Pick a color</label>
</section>
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

label {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
}

#color-picker {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100px;
  height: 100px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#color-picker:hover {
  transform: scale(1.1);
}
#color-picker::-webkit-color-swatch {
  border-radius: 15px;
  border: none;
}
#color-picker::-moz-color-swatch {
  border-radius: 15px;
  border: none;
}

section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body {
  display: flex;
  justify-content: center;
  margin: 80px auto;
  max-width: 800px;
  height: 100vh;
  background: linear-gradient(to top, #dfe9f3 0%, white 100%);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.