skip to Main Content

After updating to the latest Xcode, into storyboard I am not able to see actual custom color hex code. It is showing a white(FFFFFF) color hex code all time.
Can someone please help me with this? Please check the below screenshot.

enter image description here

3

Answers


  1. I have noticed this same problem since the latest XCode Version 12.0.1.

    A workaround that works for me is to

    1. Click on the custom color to bring up the color chooser.
    2. The color chooser is the wrong color, but tap on any other color in the color chooser.
    3. Tap Cmd+Z to undo the color change. Magically the original custom color is now selected in the color chooser.
    Login or Signup to reply.
  2. Almost the same idea work around and quicker without needing to change the color (and then reverse):

    • Select your color (this will make the color picker appear) in the drop list.

    • Select again your color (with the picker still shown) in the drop list (not in the color picker window), it will update the picker to your color.

    Login or Signup to reply.
  3. Apple has now fixed this issue in Xcode 12.5

    Fixed an issue where the custom colors swatch in an inspector’s color
    properties displayed an incorrectly offset focus indicator.

    Reference: Apple Xcode 12.5 Release Notes

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search