/colorizer

Experiment with CSS Blend Modes to reproduce the effects of Spotify's brand identity

Primary LanguageJavaScript

Experiment with CSS Blend Modes to reproduce the effects of Spotify's brand identity.

Demo available at colorizer.bantros.net.

Just add the following to your stylesheet:

.colorizer {
  position: relative;
}

.colorizer::before,
.colorizer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.colorizer::before {
  z-index: 2500;
  background-color: #e6625e;
  mix-blend-mode: multiply;
}

.colorizer::after {
  z-index: 2750;
  background-color: #15a29c;
  mix-blend-mode: lighten;
}

.colorizer__image {
  filter: contrast(110%) grayscale(100%);
}

Notes