Lv_style_set_bg_color with 2 or 3 parameters

Hello,
I try to use the function “lv_style_set_bg_color()” but I see that in many examples there are three parameters (style, state,color) but in the file lv_style_gen.h (and .c) there are only two parameters (stytle, color). Where the functions with 3 parameters come from?
Thanks in advance