Skip to main content
SettingsColour and look settings

The colour of the light and how the camera renders it: white balance, colour temperature, the look and the picture profile. This is one of the 7 pages of the settings reference, which names every setting. Colour and look shows each at work in Studio, MCP, the CLI and Slate.

Read and write one with its typed getter and setter, or with setControl by id. A camera offers only some values of each: getCapabilities().controls lists them now. A setter refuses a value the camera does not offer with CameraRefusedError before sending anything; a getter throws CameraUnsupportedError when the setting is absent or does not apply in the current mode.

White balance

Which light the camera corrects colour for: a preset such as Daylight, auto, or a temperature in Kelvin.

A white balance in Slate's one spelling, whatever the vendor calls it: Nikon's "Sunny" is 'Daylight', Canon's kebab-case codes are 'Auto', 'Shade', 'Color Temperature' and so on. The names come from the vendor codecs, one table per vendor and mode.

IdwhiteBalance, for setControl and getCapabilities().controls.whiteBalance
Value typeWhiteBalance
How to use itColour and look: White balance
Search wordswhite balance, wb

Values 28 named values. A camera offers only some of them: getCapabilities().controls.whiteBalance.allowedValues lists which, right now.

Every named value (28)

Flash Auto Custom One-push Auto Daylight Fluorescent Tungsten Shade Cloudy Fluorescent Warm White Fluorescent Cool White Fluorescent Day White Fluorescent Daylight Underwater Auto Color Temperature Custom 1 Custom 2 Custom 3 PC Custom 1 PC Custom 2 PC Custom 3 Custom 4 Custom 5 PC Custom 4 PC Custom 5 Auto White Priority Same as photo Natural Light Auto

Protocol properties

The properties Slate reads and writes for it, by brand.

BrandProperties
PTPWhiteBalance (0x5005)
CanonCanonWhiteBalance (0xd109)
NikonNikonMovieWhiteBalance (0xd23a)

getWhiteBalance

getWhiteBalance(): Promise<WhiteBalance> · MCP camera_get_white_balance · CLI darkgrade camera get-white-balance

setWhiteBalance

MCP camera_set_white_balance · CLI darkgrade camera set-white-balance

setWhiteBalance(value: WhiteBalance): Promise<WhiteBalance>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Colour temperature

White balance as a temperature in Kelvin: lower is cooler (bluer), higher is warmer. It applies only while white balance is Color Temperature; under a preset, reading or setting it fails.

A colour temperature in kelvin.

IdcolorTemperature, for setControl and getCapabilities().controls.colorTemperature
Value typeColorTemperature
How to use itColour and look: Colour temperature
setControl also takesA number of kelvin, or its whole-number text (5600), so every listed choice can be written back.
Search wordscolour temperature, color temperature, kelvin

Values A number on the camera's own scale. getCapabilities().controls.colorTemperature gives its range or allowedValues now.

Protocol properties

The properties Slate reads and writes for it, by brand.

BrandProperties
CanonCanonColorTemperature (0xd10a)
NikonNikonWhiteBalanceKelvin (0xd01e), NikonMovieWhiteBalanceKelvin (0xd21a)
SonyColorTemperature (0xd20f)

getColorTemperature

getColorTemperature(): Promise<ColorTemperature> · MCP camera_get_color_temperature · CLI darkgrade camera get-color-temperature

setColorTemperature

MCP camera_set_color_temperature · CLI darkgrade camera set-color-temperature

setColorTemperature(
    value: ColorTemperature,
): Promise<ColorTemperature>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Look

The camera's colour and contrast look. A Sony Creative Look, a Canon Picture Style and a Nikon Picture Control are all this one setting.

A look in Slate's one spelling: Canon Picture Style, Nikon Picture Control and Sony Creative Look or Creative Style ('Standard', 'Portrait', 'Monochrome', ...).

IdpictureStyle, for setControl and getCapabilities().controls.pictureStyle
Value typePictureStyle
How to use itColour and look: Look
Search wordslook, picture style, picture control, creative look, creative style, film simulation

Values 71 named values. A camera offers only some of them: getCapabilities().controls.pictureStyle.allowedValues lists which, right now.

Every named value (71)

Auto Custom 1 Custom 2 Custom 3 Standard Portrait Neutral Vivid Vivid 2 Film Instant Soft highkey Monochrome Sepia Film 2 Film 3 Custom look 1 Custom look 2 Custom look 3 Custom look 4 Custom look 5 Custom look 6 Landscape Sunset Light Clear Deep Night view Autumn leaves Creative box 1 Creative box 2 Creative box 3 Creative box 4 Creative box 5 Creative box 6 Custom 4 Custom 5 Faithful Fine detail User defined 1 User defined 2 User defined 3 PC 1 PC 2 PC 3 Same as photo Flat Rich tone portrait Dream Morning Pop Sunday Somber Drama Silence Bleach Melancholic Pure Denim Toy Blue Red Pink Charcoal Graphite Binary Carbon Custom 6 Custom 7 Custom 8 Custom 9

Protocol properties

The properties Slate reads and writes for it, by brand.

BrandProperties
CanonCanonPictureStyle (0xd110)
NikonNikonPictureControl (0xd200), NikonMoviePictureControl (0xd237)
SonyCreativeLook (0xd0fa), CreativeStyle (0xd240)

getPictureStyle

getPictureStyle(): Promise<PictureStyle> · MCP camera_get_picture_style · CLI darkgrade camera get-picture-style

setPictureStyle

MCP camera_set_picture_style · CLI darkgrade camera set-picture-style

setPictureStyle(value: PictureStyle): Promise<PictureStyle>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Picture profile

Gamma and log modes for video you plan to grade: Sony picture profiles, Nikon tone modes.

A Sony Picture Profile ('Off', 'PP1' to 'PP11', 'PP LUT 1' to 'PP LUT 4').

IdpictureProfile, for setControl and getCapabilities().controls.pictureProfile
Value typePictureProfile
How to use itColour and look: Picture profile
Search wordspicture profile, gamma, log, tone mode, N-Log, HLG

Values 19 named values. A camera offers only some of them: getCapabilities().controls.pictureProfile.allowedValues lists which, right now.

Every named value (19)

N-Log HLG Off PP1 PP2 PP3 PP4 PP5 PP6 PP7 PP8 PP9 PP10 PP11 PP LUT 1 PP LUT 2 PP LUT 3 PP LUT 4 SDR

Protocol properties

The properties Slate reads and writes for it, by brand.

BrandProperties
NikonNikonToneMode (0x1d01c), NikonMovieH265ToneMode (0x1d001), NikonMovieProResToneMode (0x1d000), NikonMovieNRawToneMode (0x1d028), NikonMovieProResRawToneMode (0x1d029)
SonyPictureProfile (0xd23f)

getPictureProfile

getPictureProfile(): Promise<PictureProfile> · MCP camera_get_picture_profile · CLI darkgrade camera get-picture-profile

setPictureProfile

MCP camera_set_picture_profile · CLI darkgrade camera set-picture-profile

setPictureProfile(value: PictureProfile): Promise<PictureProfile>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Other settings

⌘I