Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
ee.Image.rgb
Stay organized with collections
Save and categorize content based on your preferences.
Create a 3-band image specifically for visualization. This uses the first band in each image.
Returns the combined image.
| Usage | Returns | ee.Image.rgb(r, g, b) | Image |
| Argument | Type | Details | r | Image | The red image. |
g | Image | The green image. |
b | Image | The blue image. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],["The core content details how to create a 3-band image for visualization by combining three individual images into red, green, and blue channels. The `ee.Image.rgb(r, g, b)` function takes three Image arguments (`r`, `g`, `b`) representing the red, green, and blue bands, respectively. The function then uses the first band of each of these input images and returns a single, combined 3-band Image object.\n"]]