If you have a logo, for example, that is a transparent PNG or SVG, you can change its color using CSS in the following ways:
Grayscale: filter: grayscale(100%);
Solid Gray: filter: contrast(0);
Solid Black: filter: contrast(0) brightness(0);
Solid White: filter: contrast(0) brightness(2);
You can adjust the contrast value between 0 and 1 to achieve different levels of darkness.