Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress

Customizing the WordPress Admin Area

I'm having trouble answering these 2 question (fill in the blank):

1: "When you are styling a color scheme, it is a good idea to know the _______ value of the colors for your brand or theme."

I've tried "initial" but it didn't work.

2: "The__________ function is used in the functions.php file when creating a new admin color scheme from scratch."

I've used function "wpt_admin_color_schemes()" and it didn't work also

Help Please!

5 Answers

  1. I believe it is asking for the color format--i.e., the type of value you would enter if you were writing this into your stylesheet (for example, hexadecimal, rgb, rgba).

  2. The function you would want to use is wp_admin_css_color. This is the function that enables you to create your own color scheme.

Thanks Christopher!

Caroline Hagan
PLUS
Caroline Hagan
Courses Plus Student 12,453 Points

I've just ran this quiz, and failed when I put "hex" or "RGB" into the space for...

When you are styling a color scheme, it is a good idea to know the ___ values of the colors for your brand or theme.

What is the correct answer, as I don't see how that is incorrect?

//cc Zac Gordon

ANTONIO ALTAMIRANO
ANTONIO ALTAMIRANO
9,428 Points

2: "The__________ function is used in the functions.php file when creating a new admin color scheme from scratch." wp_admin_css_color

Viraj Kokane
Viraj Kokane
17,531 Points

1: "When you are styling a color scheme, it is a good idea to know the _______ value of the colors for your brand or theme." The correct answer is "hexadecimal"