%% Validate Multiple Unsigned 16-Bit Colors
% Create a 2-by-3 matrix containing the unsigned 16-bit values for two colors. Then validate the colors.

c = uint16([32768 0 65535; 0 65535 0]);
RGB = validatecolor(c,'multiple')

% Copyright 2020 The MathWorks, Inc.