sRGB Gamut RGB Bounds Checker
Check caller unclipped linear sRGB channel bounds with tiny explicit numerical tolerance and directional witnesses; unlike clipped converters it preserves out-of-gamut evidence, not rendering intent or perceptual gamut mapping.
Description
Unclipped linear RGB channels expose gamut excursions.
Unclipped linear RGB channels expose gamut excursions. A small caller tolerance handles numerical boundary noise.1
Enter exactly three finite unclipped linear sRGB channels and tolerance 0–0.0001. Return strict-below/above indexes and combined inclusive gate.
When to use sRGB Gamut RGB Bounds Checker
Use sRGB Gamut RGB Bounds Checker when you need to evaluate the supplied records under the calculation and evidence rules below. No clipping, rendering intent or perceptual gamut mapping is applied.
Prepare colors in the stated color space and scale. Use encoded RGB fractions, linear RGB, Lab, xy, byte values or ink percentages exactly as requested; supply caller tolerances and reference conditions.
How to use sRGB Gamut RGB Bounds Checker and understand its results
- Prepare colors in the stated color space and scale. Use encoded RGB fractions, linear RGB, Lab, xy, byte values or ink percentages exactly as requested; supply caller tolerances and reference conditions.
- Enter unclippedLinearSrgbChannels, callerNumericalTolerance using the field table and calculation rules, then run the tool.
- Read belowLowerBoundChannelIndices, aboveUpperBoundChannelIndices, insideCallerSrgbBounds. The explanation below defines the units, signs, ordering and any flags or placeholder values.
- If the tool reports an input issue, correct the values and run it again. Apply the stated assumptions when interpreting a successfully returned result.
| Input field | Meaning | Value type; see rules below | Requirement |
|---|---|---|---|
| unclippedLinearSrgbChannels | Unclipped linear srgb channels | list of number | Required |
| callerNumericalTolerance | Caller numerical tolerance | number | Required |
Enter exactly three finite unclipped linear sRGB channels and tolerance 0–0.0001. Return strict-below/above indexes and combined inclusive gate.
inside=all −tolerance≤channel≤1+tolerance Units, indexing, boundary conditions and exceptional cases are defined in the calculation rules above.
| Output field | Meaning | Value type |
|---|---|---|
| belowLowerBoundChannelIndices | Below lower bound channel indices | list of number |
| aboveUpperBoundChannelIndices | Above upper bound channel indices | list of number |
| insideCallerSrgbBounds | Inside caller srgb bounds | boolean |
{
"input": {
"unclippedLinearSrgbChannels": [
-0.1,
0.5,
1.1
],
"callerNumericalTolerance": 0
},
"output": {
"belowLowerBoundChannelIndices": [
0
],
"aboveUpperBoundChannelIndices": [
2
],
"insideCallerSrgbBounds": false
}
} Limitations and assumptions
No clipping, rendering intent or perceptual gamut mapping is applied.
Numeric inputs, where present, must be finite. Follow the calculation-specific rules for overflow, underflow and exceptional cases. Numeric lists are limited to 10,000 entries; string lists to 128 strings of at most 128 characters each. The rules above may impose smaller limits. Missing required fields, extra fields, wrong value types and violations of the calculation rules are input errors. A successfully returned false flag is an evaluated outcome; its meaning is explained above.
Alternative or Complementary methods
Use Display-P3 Out-of-Gamut Flagger: Display-P 3 covers colors outside sRGB. Transforming to unclipped linear sRGB preserves that evidence. For a complementary task, use OKLCH Chroma Clamp sRGB Max: A fixed-lightness/hue OKLCH radial search can reduce requested chroma to the first sampled sRGB boundary. The procedure is numerical.
References
-
sRGB Gamut RGB Bounds Checker — tool.io
Similar or alternative tools
- Display-P3 Out-of-Gamut Flagger
Display-P 3 covers colors outside sRGB. Transforming to unclipped linear sRGB preserves that evidence.
- OKLCH Chroma Clamp sRGB Max
A fixed-lightness/hue OKLCH radial search can reduce requested chroma to the first sampled sRGB boundary. The procedure is numerical.