Convert images to black & white with CSS

.grayscale {
    filter: grayscale(100%);
}

and then

<img src="your-image.jpg" alt="Image" class="grayscale">

Subscribe to My Newsletter

The latest programming-related news, articles and resources - sent to your inbox monthly. Unsubscribe anytime.