Background

<?php

$tea_content = array(
    array(
        'type' => 'background',
        'title' => 'A new paint :D',
        'id' => 'my_background_field_id',
        'default' => array(
            'image' => 'my_default_background_url',
            'image_custom' => 'my_custom_default_background_url',
            'color' => '#ffffff',
            'repeat' => 'no-repeat',
            'position' => array(
                'x' => 'left',
                'y' => 'top',
            ),
        ),
        'description' => "It's tricky :)",
        'backgrounds' => true,
    ),
);
1227

Retrieve data

Using the _get_option('my_background_field_id') method, you'll get (with a json_encode() display):

{
    "image": "http:\/\/your_complete_url\/wp-content\/themes\/your_theme\/vendor\/takeatea\/tea-theme-options\/src\/Fields\/Background\/img\/linen.png",
    "image_custom": "http:\/\/your_complete_url\/wp-content\/themes\/your_theme\/img\/teato-tiny.svg",
    "color": "#ffffff",
    "repeat": "no-repeat",
    "position_x": "left",
    "position_y": "top"
}