Home > database >  Rendering text colored Unicode emojis in Chrome
Rendering text colored Unicode emojis in Chrome

Time:07-19

I'm trying to render a monochrome unicode robot in Chrome, but it will only render a colored one no matter what I try.

Every hit I've found so far is for people complaining about it being in mono when they want color! My use case is for a small status bar - I want to show whether or not automation is working.

I'm using Chromium v101.

CodePudding user response:

CSS filter can have a grayscale value:

div {
  font-size: 48px;
  filter: grayscale(100%);
}
<div>           
  • Related