filter white to black css code example Example: filter for css white color .custom-2 { filter: brightness(0) invert(1); }