acf background class code example
Example: adding background color options for div on acf wordpress
<div style="background-color:<?php the_field('color'); ?>">
</div>
<div style="background-color:<?php the_field('color'); ?>">
</div>