Answers.Body: <p>You may try to use the color sensor in RGB mode using a 3rd party block found here: <a href="http://mindcuber.com/mindcub3r/mindcub3r.html#ColorSensorRGBBlock" rel="nofollow">http://mindcuber.com/mindcub3r/mindcub3r.html#ColorSensorRGBBlock</a>
  With this block you get a set of three 0-255 values, one for each R G B color. It will still be tricky to correctly classify the color of your objects as the readings are noisy - you can try to set ranges to each RGB value with or w/o normalization - but at least you have some data to work with. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-17T15:43:52.520Z
Answers.LastActivityDate: 2015-04-17T15:43:52.520Z
Answers.UserDisplayName: alexs
Body: <p>My plan was to make a simple robot to sort beads like this:<img src="https://i.sstatic.net/Oi6AZ.jpg" alt="beads example">. Its the <a href="http://www.hamabeads.com/" rel="nofollow noreferrer">Hama</a> Medium size beads, they have a diameter of 5mm so they are fairly small. After some testing, reading and asking <a href="https://bricks.stackexchange.com/q/6228/5687">here</a> I figured out that it would be impossible for me to get any color reading at all from objects that small with the default sensor setup (8 distinct colors).</p>
  
  <p>Is there some <em>trick</em> I can use to get the sensor to see the beads and get at least some of the color?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-04-17T13:47:27.643Z
Comments.Text: I have no experience with this, but have you tried putting a magnifying glass in front of the sensor?
Comments.UserDisplayName: Phil B.
Tags: <ev3><sensor-colour>
Title: Can I identify the colour of objects 5mm in diamater with an EV3 Colour sensor?
UserDisplayName: UlfR
ThreadText: # Can I identify the colour of objects 5mm in diamater with an EV3 Colour sensor?
  
  (Asked by: username_0 on 2015-04-17)
  
  My plan was to make a simple robot to sort beads like this:![beads example](https://i.sstatic.net/Oi6AZ.jpg). Its the [Hama](http://www.hamabeads.com/) Medium size beads, they have a diameter of 5mm so they are fairly small. After some testing, reading and asking [here](https://bricks.stackexchange.com/q/6228/5687) I figured out that it would be impossible for me to get any color reading at all from objects that small with the default sensor setup (8 distinct colors).
  
  Is there some *trick* I can use to get the sensor to see the beads and get at least some of the color?
  
  **Tags:** ev3, sensor-colour
  > **Comments:**
  > **username_1**: I have no experience with this, but have you tried putting a magnifying glass in front of the sensor?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-04-17. Score: 2 | Accepted answer
  
  You may try to use the color sensor in RGB mode using a 3rd party block found here: <http://mindcuber.com/mindcub3r/mindcub3r.html#ColorSensorRGBBlock>
  With this block you get a set of three 0-255 values, one for each R G B color. It will still be tricky to correctly classify the color of your objects as the readings are noisy - you can try to set ranges to each RGB value with or w/o normalization - but at least you have some data to work with.
  
  
  ---
  
  