Decodes the color’s value as it is retrieved from te datavbase, suing APIs like stm_r_ac_graphic(). The stm_decode_color API receives the color value received from the database and converts it into a structure (struct stm_color_all) that has the true color values in its fields, as well as the fill style of the graphical shape.