<img src="image.jpg" alt="Black and White" class="blackandwhite">
.blackandwhite {
    filter: gray;
    filter: grayscale(100%);
}