# How to find a colour on the screen?

**URL:** https://discourse.processing.org/t/how-to-find-a-colour-on-the-screen/30405
**Category:** Coding Questions
**Created:** [June 1, 2021, 5:31am UTC](https://discourse.processing.org/t/how-to-find-a-colour-on-the-screen/30405 "2021-06-01T05:31:31Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)
#### Post date: [June 30, 2021, 10:06am UTC](https://discourse.processing.org/t/how-to-find-a-colour-on-the-screen/30405/8 "2021-06-30T10:06:39Z")

</div>

Hello,

> [@MoonAlien822](#):
>
> insead of finding the exact colour, can find something extremely simelar?

I made some suggestions in your topic here:

> [@ScreenCapture with Robot Class (code not working)](https://discourse.processing.org/t/screencapture-with-robot-class-code-not-working/30551/7):
>
> thank you for your help. sadly it doesnt work because on different distances it has a different colour value and wont recognise it. but thanks anyway

I had success comparing to a range of hues.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/how-to-find-a-colour-on-the-screen/30405)._
