News for hackers. Stuff that matters.
Re:My Current HTML Boilerplate by kijin on Tuesday April 27, 2021 @06:01AM (#26953967)
Fun project: create a favicon using just the right tones of gray so that it appears one way against a light background and another way against a dark background.
Re:My Current HTML Boilerplate by chrismorgan on Tuesday April 27, 2021 @06:19AM (#26954080)
Related to this, alpha channels can be very useful in writing a single colour that appears as different colours against known dark and light colours. For example, see the mention of #8888 in https://chrismorgan.info/blog/dark-theme-implementation/, where that #8888 becomes effectively #bfbfbf against white, and #484848 against black.