com.qualcomm.robotcore.hardware

## Class NormalizedRGBA

- java.lang.Object
- - com.qualcomm.robotcore.hardware.NormalizedRGBA

-     public class NormalizedRGBA
      extends java.lang.Object

  `NormalizedRGBA` instances represent a set of normalized color values.
  See Also:
    `NormalizedColorSensor`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `float` | `alpha` normalized alpha value, in range [0,1)
    `float` | `blue` normalized blue value, in range [0,1)
    `float` | `green` normalized green value, in range [0,1)
    `float` | `red` normalized red value, in range [0,1)

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NormalizedRGBA()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `toColor()` Converts the normalized colors into an Android color integer

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### red

          public float red

      normalized red value, in range [0,1)

    - #### green

          public float green

      normalized green value, in range [0,1)

    - #### blue

          public float blue

      normalized blue value, in range [0,1)

    - #### alpha

          public float alpha

      normalized alpha value, in range [0,1)

  - ### Constructor Detail

    - #### NormalizedRGBA

          public NormalizedRGBA()

  - ### Method Detail

    - #### toColor

          public int toColor()

      Converts the normalized colors into an Android color integer
      See Also:
        `Color`