Colofilter.css

github.com ↗

Apply duotone image treatments with downloadable CSS and wrapper classes.

SI Score
80/100
Pricing
Open Source AI reading, not confirmed
Free plan
Not confirmed
Sign-up required
Not confirmed

Ask SI about Colofilter.css

Answers use saved listing facts and recorded sources.
Homepage screenshot
Screenshot of the Colofilter.css homepage

What it does

Colofilter.css supplies CSS treatments that give images a duotone appearance. Its demo pairs example images with classes that can be copied into a web page, and the stylesheet is available under MIT.

Download the stylesheet, add an image inside a wrapper, and apply a treatment such as blend-blue to that wrapper. The demo lets a visitor click an example image to copy its classes.

Class order matters in this stylesheet. Its selectors require the wrapper’s class attribute to begin with blend, so the treatment class must come before an unrelated class such as card. Dark and light variants change how the image and overlay blend.

The supplied rules combine image blending with positioned overlays; this is a treatment rendered by the web page. The repository also links a separate background-image example. Reuse or modification is allowed under MIT, with the copyright and permission notices retained.

Strengths

  • Demo examples expose the classes needed for each treatment.
  • Dark and light variants alter the image and overlay blending.

Watch out for

  • The treatment class must appear first in the wrapper’s class attribute.

Best for

  • Web pages applying a shared duotone treatment to image elements.

Sources