# Why Hue\[0\] == Hue\[1\] does not evaluate to True or anything?

**URL:** <https://community.wolfram.com/t/why-hue-0-hue-1-does-not-evaluate-to-true-or-anything/13995>\
**Category:** Questions\
**Created:** [April 28, 2019, 11:17pm UTC](https://community.wolfram.com/t/why-hue-0-hue-1-does-not-evaluate-to-true-or-anything/13995 "2019-04-28T23:17:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lvignals](https://avatars.discourse-cdn.com/v4/letter/l/7cd45c/32.png) [@lvignals](https://community.wolfram.com/u/lvignals)\
**Post date:** [April 28, 2019, 11:17pm UTC](https://community.wolfram.com/t/why-hue-0-hue-1-does-not-evaluate-to-true-or-anything/13995/1 "2019-04-28T23:17:44Z")

</div>

I am curious to understand why Hue[0] == Hue[1] does not evaluate to either True or False or at least some other Explanation message. Instead I get the initial expression with Color object substitution.  
Then using === I get False but we know that Hue[0] and Hue[1] are identical so at least one of == or === should have provided me with a True. See code below:

```
In[83]:= Hue[0] === Hue[1]
Out[83]= False

In[89]:= Hue[0] == Hue[1]
Out[89]= Hue[0] == Hue[1]

In[85]:= ColorConvert[Hue[0], "RGB"] // InputForm
Out[85]//InputForm= RGBColor[1., 0., 0.]

In[86]:= ColorConvert[Hue[1], "RGB"] // InputForm
Out[86]//InputForm= RGBColor[1., 0., 0.]

```

---

<div class="post-metadata">

**Author:** ![sghuisman](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/sghuisman/32/27850_2.png) [@sghuisman](https://community.wolfram.com/u/sghuisman)\
**Post date:** [April 29, 2019, 1:37pm UTC](https://community.wolfram.com/t/why-hue-0-hue-1-does-not-evaluate-to-true-or-anything/13995/2 "2019-04-29T13:37:32Z")

</div>

Hue[a] (with some number a) does not evaluate internally to an RGB color. (i.e. it stays as Hue[a] in the memory).

Equal will return True/False by checking if the LHS and RHS are equal. In this case they are not; it just looks at this expression structurally if you will Equal does **not** compare colors!

If you want to compare colors, you could check the ColorDistance between the two, and check if it is 0. This **will** compare colors.
