# JUCE hex Colour

**URL:** <https://forum.juce.com/t/juce-hex-colour/56601>\
**Category:** General JUCE discussion\
**Created:** [June 11, 2023, 7:35am UTC](https://forum.juce.com/t/juce-hex-colour/56601 "2023-06-11T07:35:23Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vladkin](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@Vladkin](https://forum.juce.com/u/Vladkin)\
**Post date:** [June 11, 2023, 7:35am UTC](https://forum.juce.com/t/juce-hex-colour/56601/1 "2023-06-11T07:35:23Z")

</div>

Hello users of Juce. I have a question. I use multiple operating systems and Juce behaves differently on them. In El Capitan and High Sierra, when I hover my mouse over the color hex, a window pops up and I see the color I want to apply to the object, but this does not happen in Catalina, Ventura, or Windows 10. Can anyone tell me, how can i fix this feature. Because it’s so convenient.  
Thank you in advance for your response.

---

<div class="post-metadata">

**Author:** ![baramgb](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/baramgb/32/12822_2.png) [@baramgb](https://forum.juce.com/u/baramgb)\
**Post date:** [June 12, 2023, 1:49pm UTC](https://forum.juce.com/t/juce-hex-colour/56601/2 "2023-06-12T13:49:59Z")

</div>

What you describe seems not rely on the OS or even juce. Which Ide or editor do you use?

---

<div class="post-metadata">

**Author:** ![Vladkin](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@Vladkin](https://forum.juce.com/u/Vladkin)\
**Post date:** [June 12, 2023, 2:03pm UTC](https://forum.juce.com/t/juce-hex-colour/56601/3 "2023-06-12T14:03:50Z")

</div>

6.1.2 in Catalina and High Sierra, 7.0.5 in Ventura and Windows. But when I used older versions of Juce in Windows, the pop-up window did not appear either. It seems to me that it is necessary to include some function in the OS.

---

<div class="post-metadata">

**Author:** ![asimilon](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/asimilon/32/4235_2.png) [@asimilon](https://forum.juce.com/u/asimilon)\
**Post date:** [June 12, 2023, 2:11pm UTC](https://forum.juce.com/t/juce-hex-colour/56601/4 "2023-06-12T14:11:37Z")

</div>

In which software? Your IDE or are you talking about the GUI Editor in Projucer (which is deprecated)?

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [June 12, 2023, 2:14pm UTC](https://forum.juce.com/t/juce-hex-colour/56601/5 "2023-06-12T14:14:28Z")

</div>

Do you talk of the ColorSync Utility?

 ![Screenshot 2023-06-12 at 16.11.10](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/e/ead4ef885399652b9213b95860552317c64c442f.png)

It seems indeed to be the case, that the colour picker shows red for anything outside the window.  
My personal guess it is related to the security feature that messed up the round corners of popup menus.

It happens for all windows, so it is definitely not juce related.

---

<div class="post-metadata">

**Author:** ![ImJimmi](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/imjimmi/32/10843_2.png) [@ImJimmi](https://forum.juce.com/u/ImJimmi)\
**Post date:** [June 12, 2023, 3:00pm UTC](https://forum.juce.com/t/juce-hex-colour/56601/6 "2023-06-12T15:00:04Z")

</div>

I’m guessing you’re talking about the [`JUCE_LIVE_CONSTANT`](https://docs.juce.com/master/group __juce__ gui__extra-misc.html#gae2cc503e5069bf8510953e212317abaa) feature used in the Projucer?

The docs say

> In a release build, this macro disappears and is replaced by only the constant that it  
> wraps, but if JUCE\_ENABLE\_LIVE\_CONSTANT\_EDITOR is enabled, it injects a class wrapper  
> that automatically pops-up a window containing an editor that allows the value to be  
> tweaked at run-time.

So it may be that you’re building a Release build and haven’t set that macro.

---

<div class="post-metadata">

**Author:** ![asimilon](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/asimilon/32/4235_2.png) [@asimilon](https://forum.juce.com/u/asimilon)\
**Post date:** [June 12, 2023, 6:41pm UTC](https://forum.juce.com/t/juce-hex-colour/56601/7 "2023-06-12T18:41:57Z")

</div>

I think we need @Vladkin to actually tell us what exactly is the issue, because we’re all just pulling at straws trying to guess what is the problem! 😂

---

<div class="post-metadata">

**Author:** ![Vladkin](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@Vladkin](https://forum.juce.com/u/Vladkin)\
**Post date:** [June 12, 2023, 7:25pm UTC](https://forum.juce.com/t/juce-hex-colour/56601/8 "2023-06-12T19:25:09Z")

</div>

That’s what I have in El Capitan.

 ![IMG_20230612_221717](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/6/665e9bcd46315f27cff71f40279ebc46698adc3b.jpeg)  
On other systems, I can’t see the popup window and stupidly change the color of an object by moving the slider.  
Agree that it is very convenient to choose a color.

---

<div class="post-metadata">

**Author:** ![asimilon](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/asimilon/32/4235_2.png) [@asimilon](https://forum.juce.com/u/asimilon)\
**Post date:** [June 12, 2023, 7:51pm UTC](https://forum.juce.com/t/juce-hex-colour/56601/9 "2023-06-12T19:51:51Z")

</div>

So it’s in Projucer?

---

<div class="post-metadata">

**Author:** ![Vladkin](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@Vladkin](https://forum.juce.com/u/Vladkin)\
**Post date:** [June 13, 2023, 3:23am UTC](https://forum.juce.com/t/juce-hex-colour/56601/10 "2023-06-13T03:23:13Z")

</div>

Yes

---

<div class="post-metadata">

**Author:** ![asimilon](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/asimilon/32/4235_2.png) [@asimilon](https://forum.juce.com/u/asimilon)\
**Post date:** [June 13, 2023, 7:50am UTC](https://forum.juce.com/t/juce-hex-colour/56601/11 "2023-06-13T07:50:37Z")

</div>

I think this editor in Projucer is deprecated. 100% for the sure the GUI editor has been deprecated, I seem to also remember (but not 100% certain) that the editor is also being deprecated.

If you’re using VSCode or CLion as your IDE they both have colour pickers built in that can be used to similar effect.

---

<div class="post-metadata">

**Author:** ![Vladkin](https://avatars.discourse-cdn.com/v4/letter/v/90ced4/32.png) [@Vladkin](https://forum.juce.com/u/Vladkin)\
**Post date:** [June 13, 2023, 8:07am UTC](https://forum.juce.com/t/juce-hex-colour/56601/12 "2023-06-13T08:07:24Z")

</div>

this happens in all versions of Juce (6.x) that El Capitan supports.

---

<div class="post-metadata">

**Author:** ![asimilon](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/asimilon/32/4235_2.png) [@asimilon](https://forum.juce.com/u/asimilon)\
**Post date:** [June 13, 2023, 8:42am UTC](https://forum.juce.com/t/juce-hex-colour/56601/13 "2023-06-13T08:42:00Z")

</div>

OK, I think still nothing can be done about it, JUCE 6 is no longer supported (except in the case of hideous bugs that were already a problem in JUCE 6, in exceptional circumstances you have the right to backport from JUCE 7 should you not have a JUCE 7 license iirc, but I am not a lawyer, neither am I qualified to state that as fact, just something I think I read in the EULA before).
