Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Customizer Pimary Color: Hexidecimal input #613
Problem: It's not possible to precisely select the Primary Color in the Customizer. Users have to slide back and forth then inspect with their browser and try to trap the specific color they might desire.
Desired Solution: Add a hexidecimal input box that can be used to override the color slider if desired.
Current work around: Use CSS to override colors manually in a Child Theme or the Additional CSS Customizer Box. However, this requires a lot of inspection and testing.
Hi, @josephdickson — Thanks for the report.
Twenty Nineteen's original custom color implementation allowed for users to enter a Hex value, as shown in the GIF here:
This was problematic in that it opened the door to very inaccessible color combinations throughout the site. We looked into the addition of a color contrast checker to warn users about that, but ultimately abandoned that idea after considering the bulk and complexity it'd add to the theme.
In the end, we borrowed a solution from Twenty Seventeen, and implemented a color hue picker instead. This allows people to customize the color while also guiding them towards a more accessible palette.
Switching to a hex color picker isn't something @allancole and I are looking to change before the release at this point, but I could definitely imagine a separate plugin or child theme handling this sort of thing.