Add-On Documentation
  • Preparing search index...
  • The search index is not available
8Crafter's Server Utilities API
  • 8Crafter's Server Utilities API
  • Globals
  • modules
  • colorCore
  • linearSrgbToOklab

Function linearSrgbToOklab

  • linearSrgbToOklab(
        r: number,
        g: number,
        b: number,
    ): ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/color-core/dist.Oklab

    Converts linear sRGB values to Oklab color space.

    Parameters

    • r: number

      The red channel of linear sRGB (0-1).

    • g: number

      The green channel of linear sRGB (0-1).

    • b: number

      The blue channel of linear sRGB (0-1).

    Returns ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/color-core/dist.Oklab

    An object with L, a, and b properties in Oklab color space.

    • Defined in ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/color-core/dist/conversions/components/oklab-linear-srgb.d.ts:17

Settings

Member Visibility
Add-On Documentation
8Crafter's Server Utilities API
  • Loading...

Generated using TypeDoc