Something went wrong. Try again.
A color lighten/darken tool from scratch built using HTML, CSS, and vanilla JavaScript as a part of updating my skillset. decoded-cipher.github.io/colortool
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798body { font-family: 'Montserrat', sans-serif; background-color: #3e4560; color: white;}
.title { text-align: center; margin: 20px; color: #d6d5ac;}
label { display: block; font-size: 20px; margin-bottom: 5px;}
input { margin-bottom: 25px; width: 25%;}
input[type="text"] { padding: 5px 10px; border-radius: 3px; border: none;}
.box { height: 100px; width: 100%; background-color: #c6d5ac; margin-bottom: 25px;}
/* .footer { text-align: center; font-size: smaller;}
a { text-decoration: none; color: white;}
a:hover { text-decoration: none; color: black;} */
@media only screen and (max-width: 600px) { input { width: 100%; }}
/* @media screen and (min-width: 800px) { .footer { padding-top: 60px; }} */
.toggle { display: flex;}
.toggle-text { font-size: 18px;}
.toggle-btn { height: 25px; width: 50px; background-color: gray; border-radius: 30px; margin: 0 10px;}
.inner-circle { width: 25px; height: 25px; border-radius: 50%; background-color: white; transition: all 250ms;}
.toggle-btn.toggled>.inner-circle { transform: translateX(25px); background-color: #333;}
.unselected { opacity: 0.25;}