---
title: "DropletMediaAccentColor, DroppyKit"
description: "sRGB color used to tint active controls and highlights for the player."
canonical: "https://getdroppy.app/docs/droppykit/api/droplet-media-accent-color"
last-updated: "2026-09-09"
---

# DropletMediaAccentColor

sRGB color used to tint active controls and highlights for the player.

`struct DropletMediaAccentColor`

Components are expected in the `0.0...1.0` range.

## Initializers

### init(from:)

`init(from decoder: any Decoder) throws`

### init(red:green:blue:alpha:)

`init(red: Double, green: Double, blue: Double, alpha: Double = 1.0)`

Creates an sRGB accent color.

## Properties

### alpha

`let alpha: Double`

Alpha channel (`0.0...1.0`).

### blue

`let blue: Double`

Blue channel (`0.0...1.0`).

### green

`let green: Double`

Green channel (`0.0...1.0`).

### red

`let red: Double`

Red channel (`0.0...1.0`).
