import math


def srgb_to_linear(value):
    """
    Convert an SRGB color value to linear.
    """
    if value <= 0.03928:
        return value / 12.92
    else:
        return math.pow((value+0.055) / 1.055, 2.4)