resolveColorSpace( builder, colorSpace ) {

		if ( colorSpace === WORKING_COLOR_SPACE ) {

			return ColorManagement.workingColorSpace;

		} else if ( colorSpace === OUTPUT_COLOR_SPACE ) {

			return builder.context.outputColorSpace || builder.renderer.outputColorSpace;

		}

		return colorSpace;

	}
This method resolves the constants `WORKING_COLOR_SPACE` and
`OUTPUT_COLOR_SPACE` based on the current configuration of the
color management and renderer.

@param {NodeBuilder} builder - The current node builder.
@param {string} colorSpace - The color space to resolve.
@return {string} The resolved color space.