Title: Custom color hex code
Last modified: December 7, 2018

---

# Custom color hex code

 *  Resolved [doyouevenblog](https://wordpress.org/support/users/doyouevenblog/)
 * (@doyouevenblog)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/custom-color-hex-code/)
 * I’m digging the new custom primary color–but what would be the easiest way to
   enter a hex code for this?
 * Wasn’t sure if there was a fairly simple CSS option.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [7 years, 6 months ago](https://wordpress.org/support/topic/custom-color-hex-code/#post-10962185)
 * Do you mean for the header image?
 *  [nanoanno](https://wordpress.org/support/users/nanoanno/)
 * (@nanoanno)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/custom-color-hex-code/#post-10965923)
 * Hey doyouevenblog,
 * If you’re referencing the color you select with the little slider in the Customizer
   under Colors > Custom, there’s unfortunately no way to add a hex code right there
   at the time being.
 * However, you can use [this code gist](https://gist.github.com/nanoanno/f30555183363b2896a6cbcef5f012d2e)
   to change it to the hex color of your preference. Everywhere you see `hsl( 326,
   100%, 33% ); /* base: #0073a8; */` replace it with your hex color and include
   a semi-colon at the end, like this `#F47834;` … after that copy and paste all
   of that code into the Additional CSS box in the Customizer and you should be 
   good to go.
 * Let me know if you run into any trouble.
 * Ann
    -  This reply was modified 7 years, 6 months ago by [nanoanno](https://wordpress.org/support/users/nanoanno/).
 *  Thread Starter [doyouevenblog](https://wordpress.org/support/users/doyouevenblog/)
 * (@doyouevenblog)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/custom-color-hex-code/#post-10965934)
 * Handy. Thank you!
 *  [nanoanno](https://wordpress.org/support/users/nanoanno/)
 * (@nanoanno)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/custom-color-hex-code/#post-10970581)
 * You’re so welcome. Happy to help!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom color hex code’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentynineteen/3.3/screenshot.
   png)
 * Twenty Nineteen
 * [Support Threads](https://wordpress.org/support/theme/twentynineteen/)
 * [Active Topics](https://wordpress.org/support/theme/twentynineteen/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentynineteen/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentynineteen/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 4 replies
 * 3 participants
 * Last reply from: [nanoanno](https://wordpress.org/support/users/nanoanno/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/custom-color-hex-code/#post-10970581)
 * Status: resolved