# Hexadecimal Color

**URL:** <https://forum.code.org/t/hexadecimal-color/22209>\
**Category:** Unit and Lesson Discussion\
**Tags:** csp-unit-2, csp-unit-2-lesson-4\
**Created:** [November 15, 2018, 5:16pm UTC](https://forum.code.org/t/hexadecimal-color/22209 "2018-11-15T17:16:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthony\_dellarosa](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/anthony_dellarosa/32/2267_2.png) [@anthony\_dellarosa](https://forum.code.org/u/anthony_dellarosa)\
**Post date:** [November 15, 2018, 5:16pm UTC](https://forum.code.org/t/hexadecimal-color/22209/1 "2018-11-15T17:16:22Z")

</div>

Anyone having trouble explaining the hexadecimal to color activity that was optional?

---

<div class="post-metadata">

**Author:** ![bhatnagars](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/bhatnagars/32/4919_2.png) [@bhatnagars](https://forum.code.org/u/bhatnagars)\
**Post date:** [November 15, 2018, 5:53pm UTC](https://forum.code.org/t/hexadecimal-color/22209/5 "2018-11-15T17:53:45Z")

</div>

Could you please give me more details? What trouble are you experiencing?

---

<div class="post-metadata">

**Author:** ![anthony\_dellarosa](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/anthony_dellarosa/32/2267_2.png) [@anthony\_dellarosa](https://forum.code.org/u/anthony_dellarosa)\
**Post date:** [November 16, 2018, 1:11am UTC](https://forum.code.org/t/hexadecimal-color/22209/6 "2018-11-16T01:11:30Z")

</div>

Yes when you convert the hex value to binary and then have to color match it on the last page. How do you find out the color?

---

<div class="post-metadata">

**Author:** ![bhatnagars](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/bhatnagars/32/4919_2.png) [@bhatnagars](https://forum.code.org/u/bhatnagars)\
**Post date:** [November 16, 2018, 1:42am UTC](https://forum.code.org/t/hexadecimal-color/22209/7 "2018-11-16T01:42:22Z")

</div>

You need to compare the amount of red, green, and blue components to figure out the color. For example, if there is a lot of red (big number), no green (0), and a little blue (small number), the color would be a shade of red(magenta). If there is a lot of red, no green, and a lot of blue, the color would be a light shade of red (pink). Similarly, if the code has no red, a lot of green, and a lot of blue, the color will be a lighter shade of green. I hope this helps.
