Get current active wp color scheme

The current admin color scheme is a user setting, you can get its value with:

$current_color = get_user_option( 'admin_color' );

See the function admin_color_scheme_picker() in wp-admin/includes/misc.php for an usage example.

Leave a Comment