Answers.Body: <p>The returned values are the reflected light intensities for each of the three LED colors (red/green/blue).</p>
  
  <p>The scale is actually 0-1023. Basically, this is the raw value returned by a 10-bit analog to digital converter in the color sensor (2 ^ 10 = 1024).</p>
  
  <p>The LEDs themselves may not put out enough light that you could ever reach the maximum value, so you will have to calibrate the sensor accordingly. For example, your calibration could consist of holding the sensor close to a white sheet of paper and finding the maximum value for each color, then use those maximum values to normalize the actual sensor values to a scale of 0 to 100%.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-04-28T00:07:35.297Z
Answers.LastActivityDate: 2015-04-28T00:07:35.297Z
Answers.UserDisplayName: David Lechner
Body: <p>I have the extra colorsensorblock used by <a href="http://mindcuber.com/mindcub3r/mindcub3r.html" rel="nofollow">mindcuber</a> - ColorSensorRGB - installed. Now I'm trying to use it in my own projct. But what values does it produce?</p>
  
  <p>It seems like it has a <strong>min</strong>-value of 0 (as expected), but some testing gave me a <strong>max</strong>-value of 395 (I was expecting 255).</p>
  
  <p>What is the range of values delivered?</p>
  
Tags: <ev3><sensor-colour>
Title: What RGB-values do I get from the colorsensor
UserDisplayName: UlfR
ThreadText: # What RGB-values do I get from the colorsensor
  
  (Asked by: username_0 on 2015-04-27)
  
  I have the extra colorsensorblock used by [mindcuber](http://mindcuber.com/mindcub3r/mindcub3r.html) - ColorSensorRGB - installed. Now I'm trying to use it in my own projct. But what values does it produce?
  
  It seems like it has a **min**-value of 0 (as expected), but some testing gave me a **max**-value of 395 (I was expecting 255).
  
  What is the range of values delivered?
  
  **Tags:** ev3, sensor-colour
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-04-28. Score: 3 | Accepted answer
  
  The returned values are the reflected light intensities for each of the three LED colors (red/green/blue).
  
  The scale is actually 0-1023. Basically, this is the raw value returned by a 10-bit analog to digital converter in the color sensor (2 ^ 10 = 1024).
  
  The LEDs themselves may not put out enough light that you could ever reach the maximum value, so you will have to calibrate the sensor accordingly. For example, your calibration could consist of holding the sensor close to a white sheet of paper and finding the maximum value for each color, then use those maximum values to normalize the actual sensor values to a scale of 0 to 100%.
  
  
  ---
  
  