Skip to content

Instantly share code, notes, and snippets.

@codl
Last active May 25, 2022 19:21
Show Gist options
  • Save codl/b71ed95b5af088fceb27ade65e1d4eb0 to your computer and use it in GitHub Desktop.
Save codl/b71ed95b5af088fceb27ade65e1d4eb0 to your computer and use it in GitHub Desktop.

funny not 256 colour css filter

this does not use the traditional "RRRGGGBB" 256 colour palette for no authenticity

how to

  1. put filter.svg at the root of the web site

  2. paste the contents of style.css into your css

  3. enjoy ✨

Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
body { filter: url('/filter.svg#posterize'); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment