Grayscale Images: Composed solely of gray shades from black to white, grayscale images lack color. Each pixel's single value indicates its intensity.
RGB Images:
RGB images utilize three color channels: Red, Green, and Blue. Each pixel has three values specifying the intensity of these primary colors, enabling a broad spectrum of colors through their combination.