Mqtt light string

Hello,

i’m pretty new to HA and i’m testing RGB light. So when i select a color in color picker i get the value to mqtt in string

like 125,102,200 and my question now is can i change that format to 0|125|102|200|0 ?

kr Tomaž.