Actually I'm working with a programming app. Now I would like to add a default theme color. This default theme color adding from general setting page using php. And I'm added a new css like default-theme.css. But how to get this color code & use this color code in default-theme.css?
HTML codes: (from general setting page)
<div class="form-group">
<label for="default_theme_color" class="col-md-2">
<?php echo lang('default_theme_color'); ?>
</label>
<div class="col-md-10">
<?php $this->load->view("settings/default_color_plate"); ?>
</div>
</div>
Note:
- I'm use hare a color plate (default_color_plate) include some color:
("#00BCD4", "#17a589", "#2471a3", "#2e4053", "#2e86c1", "#404040", "#555a61", "#557bbb", "#839192", "#83c340", "#884ea0", "#a6acaf", "#a93226", "#d68910").
Saved a default color code from the color plate. And get this color code from database. But how do I work with css to use this color code?