Title: Hex color codes in the Widget Code
Last modified: September 30, 2021

---

# Hex color codes in the Widget Code

 *  Resolved [swun](https://wordpress.org/support/users/swun/)
 * (@swun)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/hex-color-codes-in-the-widget-code/)
 * Hi! I have a minor question. I have a test website and a live one. Both have 
   the same version of the plugin. I have also compared the plugin files and they
   are the same on both sites. Somehow the widget code that is provided at the bottom
   of the settings page is different, in that one uses 6-digit hex color codes like#
   ffffff, and the other uses 3-digit ones like #fff. Example line of code:
 * Test site:
 * `.switcher .selected {background:#ffffff linear-gradient(180deg, #efefef 0%, #
   ffffff 70%);position:relative;z-index:9999;}`
 * Live site:
 * `.switcher .selected {background:#fff linear-gradient(180deg, #efefef 0%, #fff
   70%);position:relative;z-index:9999;}`
 * Do you have any idea what is causing the difference? Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhex-color-codes-in-the-widget-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/hex-color-codes-in-the-widget-code/#post-14926756)
 * Hi,
 * #fff and #ffffff are equivalent.
 * Possibly you have used a different browser when configuring GTranslate or you
   have a different color picker library.
 * Thanks! 🙂
 *  Thread Starter [swun](https://wordpress.org/support/users/swun/)
 * (@swun)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/hex-color-codes-in-the-widget-code/#post-14929802)
 * The same browser was used for configuring GTranslate on our websites.

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

The topic ‘Hex color codes in the Widget Code’ is closed to new replies.

 * ![](https://ps.w.org/gtranslate/assets/icon-256x256.png?rev=2595917)
 * [Translate Wordpress with GTranslate](https://wordpress.org/plugins/gtranslate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gtranslate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gtranslate/)
 * [Active Topics](https://wordpress.org/support/plugin/gtranslate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gtranslate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gtranslate/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [swun](https://wordpress.org/support/users/swun/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/hex-color-codes-in-the-widget-code/#post-14929802)
 * Status: resolved