No, since the color space of a canvas context must match the color space of the CSS color values:
In user agents that support CSS, the color space used by a canvas element must match the color space used for processing any colors for that element in CSS.
Also the current specification of ImageData
provides only a 8bit array:
interface ImageData {
readonly attribute unsigned long width;
readonly attribute unsigned long height;
readonly attribute Uint8ClampedArray data;
};