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

  1. 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.
  2. Enter unclippedLinearSrgbChannels, callerNumericalTolerance using the field table and calculation rules, then run the tool.
  3. Read belowLowerBoundChannelIndices, aboveUpperBoundChannelIndices, insideCallerSrgbBounds. The explanation below defines the units, signs, ordering and any flags or placeholder values.
  4. 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 fieldMeaningValue type; see rules belowRequirement
unclippedLinearSrgbChannelsUnclipped linear srgb channelslist of numberRequired
callerNumericalToleranceCaller numerical tolerancenumberRequired

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 fieldMeaningValue type
belowLowerBoundChannelIndicesBelow lower bound channel indiceslist of number
aboveUpperBoundChannelIndicesAbove upper bound channel indiceslist of number
insideCallerSrgbBoundsInside caller srgb boundsboolean
json
{
  "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

  1. 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.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies