Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #335402

    Hey,

    when I choose the color #ffad1d in theme options / generel styling then it automatically changes to #ffac1d. The same effect is when I try with the RGB selection: 255 / 173 / 29 always changes automatically to 255 / 172 / 29.

    Enfold Version Number is 3.0 / WordPress 4.0

    Many thanks for your help.
    Bruce

    #335933

    Hey BruceJackson!

    Thank you for using Enfold.

    You should only use Web Safe Colors. If you’re using photoshop, open Color Picker then enable Only Web Colors. The #ffad1d will always be converted to something else.

    Best regards,
    Ismael

    #337924

    I have just come upon this exact same problem. You say only use web safe colours, but I started with your default splash blue colour scheme and the Primary and highlight colours are #2d5c88 and #3d71a1. These are not web safe colours either. So how come the default colour schemes can use non web safe colours, but if I want a colour of my own choosing I am restricted to only 216 colours? Does this mean I will have to use CSS to set the colours I want?
    Alan.

    #342032

    Hi Alan,

    If you want to disable the color picker auto-correction open /enfold/framework/js/avia_colorpicker.js and look for line 221:

    cal.data('colorpicker').color = col = HexToHSB(fixHex(this.value));
    	fixHex = function (hex) {
    

    Replace it by this:

    //cal.data('colorpicker').color = col = HexToHSB(fixHex(this.value));
    	fixHex = function (hex) {
    

    Regards,
    Josue

    #342059

    Thanks Josue, that did the trick.

    Alan.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘color selection not working for specific color code’ is closed to new replies.