May I ask how the effect in the design draft can be realized on the webpage? I don't quite understand the layer structure of the design draft file. In the design draft, the color of the hair can be changed by changing the background color, and the remaining blank parts remain transparent. I tried using the 'background-blend-mode' and 'mix-blend-mode' css properties but to no avail. Because the background color is always there. in addition, The hair color in the design draft uses three different mixed modes and colors, and I only set only one color in background proper. Is there any way to set multiple different hybrid modes and colors, whether it can be added by adding pseudo-elements. And I also tried using chatGPT, but it gave me invalid answers too. Please help me, thanks a lot.
.box {
width: 413px;
height: 363px;
border: 1px solid red;
position: relative;
overflow: hidden;
background: url("https://raw.githubusercontent.com/BonjourYY/image-server/master/hair.png") center center/auto auto no-repeat #9b5f45;
background-blend-mode: multiply;
}
.box img {
mix-blend-mode: multiply;
}
<div class="box">
<img src="https://raw.githubusercontent.com/BonjourYY/image-
server/master/hair.png" alt="" />
</div>