Ubah CSS Warna Karakter Terakhir

.test::after{
    content: "g";
    color: yellow;
}

/* HTML */
<p class="test">strin</p>
Perfect Pigeon