Color filling in dropdown items
Hi all respectable members, I want to add RGB Colors in Dropdown items, I am using code in custom calculation, here is my code:
event.value=this.getField("Dp3").value;
if (event.value=="Day (08:00-20:00)")
event.target.fillColor = ["RGB",234,241,221];
else if (event.value=="WN (20:00-08:00)")
event.target.fillColor = ["RGB",217,149,148];
else if (event.value=="Sleeping O/N standby (20:00-08:00)")
event.target.fillColor = ["RGB",184,204,228];
else
event.target.fillColor = color.transparent;
but failed is there any way to change colors.

Please I have need your help
