1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4 * You can obtain one at http://mozilla.org/MPL/2.0/.
6 dictionary InspectorRGBTriple {
8 * NOTE: Using octet for RGB components is not generally OK, because
9 * they can be outside the 0-255 range, but for backwards-compatible
10 * named colors (which is what we use this dictionary for) the 0-255
18 dictionary InspectorRGBATuple {
20 * NOTE: This tuple is in the normal 0-255-sized RGB space but can be
21 * fractional and may extend outside the 0-255 range.
23 * a is in the range 0 - 1.