The current active/selected admin color scheme is a user setting, you can get its value with get_user_option( 'admin_color' )
.
$admin_color = get_user_option( 'admin_color' );
if you want to access the color scheme for the specific user then pass the user id as second parameter in the get_user_option()
function
$user1_id = 2;
$user1_color = get_user_option( 'admin_color', $user1_id );
the above both examples will return the name of the active color scheme e.g; blue, fresh, Midnight etc..
if you want to access the whole list of colors used in the admin section then use the following..
global $_wp_admin_css_colors;
$admin_colors = $_wp_admin_css_colors;
print_r($admin_colors);
Related Posts:
- How to obtain the user ID of the current profile being edited in WP-Admin?
- remove_action with profile_personal_options
- What are the standard admin CSS id/class tags?
- Modal window from within WordPress admin
- How to Change the Default Home Page for the WordPress Dashboard?
- How To Remove WordPress Version From The Admin Footer
- Set Default Admin Colour For All Users
- Securing Admin Accounts – Username Discovery
- Can an admin check passwords of registered users?
- How-to make the admin area mobile friendly [closed]
- 3.3: How do you hide the new dashboard welcome panel?
- Appearance->Editor not visible
- Possible to create placeholder images in WordPress editor that are clickable (should bring up uploader)?
- Admin pages have no content
- Blocking Administrative Access to Authors and Subcribers?
- Add User meta fields, which only admin can edit
- How to find out if an wp-admin action edited a file?
- How to display only logged in user’s post comments in comments area
- WordPress 3.8 get current admin color scheme
- How to Use Resposive Tables in WordPress ADMIN Pages?
- I keep getting logged out in Firefox
- Add tabbed menu to admin page
- Getting the different post statuses + count like in edit.php, in a custom submenu page
- how to redirect to url.com/wp-admin if url.com/admin is typed in?
- How To Create User Specific Admin User Pages?
- Change the Default Pages Menu View in wp-admin
- user-new.php less detailed after WP3.1; how to revert?
- Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
- How to disable automatic excerpt generation *in admin*?
- Limit Words in Category / Term Description – Admin Panel
- Change top level menu item to point to custom submenu item
- Associating custom submenu item with post type of top level menu item
- Adding text in more than one language (at the same time)
- wp-admin post.php JavaScript Links Not Working
- Super slow admin panel
- Admin Taxonomy Terms – Orderby Term Field
- How do I add an admin notice within javascript in the admin interface for posts?
- Fatal error: Exception thrown without a stack frame in Unknown on line 0
- Hide Pages on Edit Pages based on Capability (edit_others_pages)?
- Unable to Access WP Admin or Login buttons after Migration
- Add ‘Last Modified’ and Attachments (Yes/No) to WordPress Users Column
- Editors change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published?
- How Can I Found Admin Directory
- WordPress post feature image not uploading
- Combine and Minify wp-admin files, also re-write URI’s for CDN
- How can I make the user names of commentors clickable links to the user’s profile from the admin comment screen?
- 500 internal server error on wp-admin only
- Redirect from the dashboard to edit.php if wp_is_mobile() is true
- Seems that admin_post_{action} does not executing
- Add Custom Script in Other Plugin’s Options page
- When submitting the form site.com/blog/wp-admin it goes to site.com/wp-admin
- Can I host WP-admin locally for a remote blog?
- add_cap for editor but no admin role
- get_current_screen and the WP_Screen class
- Is there alternative to WP_List_Table?
- WordPress Brute Force Prevention
- Admin login not working
- Adding and removing columns from the admin pages panel
- Hide admin notice when user profile updated
- Show global Message in User Profiles with admin only Input field in WordPress Backend
- How to make sure your admin doesn’t hi-jack you site?
- How to change the descriptive text on the menus admin page?
- Dynamic WordPress Admin Panel
- Wp-Admin FTPS Connection Error unlike Filezilla
- Extending the user profile [closed]
- How to update my website with WordPress?
- wordpress login loop after install
- Unable to render Admin Notices
- WordPress login not working
- Admin blank but Admin menu showing
- Lock Display Name To Nickname
- Capability to read/edit page in wp-admin only for administrators
- Problems in migration of WordPress site from local server to the online server
- WYSIWYG editor not in a post editor?
- htaccess and htpasswd
- plugin to upload to youtube via wordpress [closed]
- You do not have permission to access this document on form submit
- Where in WP can I check history or log of updates of plugins etc?
- Is it OK to move admin menu items?
- Set Featured Image programmatically (in admin) with JavaScript?
- Can I set a default dashboard layout for all users?
- Making the thumbnails in the backend Media section bigger
- Only allow new subpages to be created
- In administration, how do I display comments of a certain user?
- WordPress stripping html and script tags from some admin users on save
- Editing the Backend Uploader
- How to add custom classes to admin list table default rows or columns?
- How to hide a specific part of dashboard for non-admin roles?
- WordPress Remove Submenus
- If statement for admin page
- Customizing WordPress Admin – How to Change the Avatar size
- Create a WordPress administrator without access to back-end
- Browse Happy in 3.2
- How much traffic is real traffic?
- Getting rid of menu items on a custom taxonomy
- Parsing post->ID in included plugin file
- How To Remove Import/Export Option From Tools?
- Why is $_POST Empty in Profile Edit Admin?
- How to fix: Clicking ‘Quick Edit’ link in Admin (edit.php) makes posts disappear?
- Use the wordpress admin table