Custom Colors

_images/icon6.webp

Different colored potions.

File location

/assets/minecraft/optifine/color.properties

Custom Colors* can modify the hardcoded colors for various particles, fogs, and miscellanea.

Values only need to be provided for the properties that need to be changed.

_images/settings5.webp

Button and tooltip for the option, found in Video Settings ‣ Quality.

The default Minecraft values for each property are given below for convenience.

Properties

Particles

Key

Meaning

Default

particle.water

Base water particle color (splashes, bubbles, drops).
Biome water color multiplier is applied to this value.
The value should match the color of the resource pack's base water texture.
If the base water texture is grey, in which coloring is via misc/watercolor#.png, this should be set to ffffff

334cff

particle.portal

Base portal particle color.
A random multiplier between 0.4 and 1.0 is applied to all three R, G, B values

ff4ce5

Fogs, skies

Key

Meaning

Default

fog.nether

Fog used in the Nether dimension

330707

fog.end

Fog used in The End dimension

181318

sky.end

Color of the sky in The End dimension

282828

Lilypads

Key

Meaning

Default

lilypad

Single color, used across all biomes

208030

Potions

For potions with more than 1 effect, the final color is the average of the applicable colors, weighted by the level of each potion effect.

Note

potion.water is a plain bottle of water

Key

Default

potion.absorption

2552a5

potion.blindness

1f1f23

potion.confusion

551d4a

potion.damageBoost

932423

potion.digSlowDown

4a4217

potion.digSpeed

d9c043

potion.fireResistance

e49a3a

potion.harm

430a09

potion.heal

f82423

potion.healthBoost

f87d23

potion.hunger

587653

potion.invisibility

7f8392

potion.glowing

94a061

potion.jump

786297

potion.levitation

ceffff

potion.luck

339900

potion.moveSlowdown

5a6c81

potion.moveSpeed

7cafc6

potion.nightVision

1f1fa1

potion.poison

4e9331

potion.regeneration

cd5cab

potion.resistance

99453a

potion.saturation

f82423

potion.unluck

c0a44d

potion.waterBreathing

2e5299

potion.weakness

484d48

potion.wither

352a27

potion.water

385dc6

Spawner egg colors

_images/spawnegg_label.webp

Red are the shell, blue are the spots.

Key

Meaning

Default

egg.shell.<entity>

Change the color of the shell of the egg

None

egg.spots.<entity>

Change the color of the spots on the egg

None

<entity> controls what spawn egg the colors apply to Colons must be escaped: egg.spots.minecraft\:creeper=000000", "None"

Map colors

Blocks

Key

Meaning

Default

map.air

Void, unrendered blocks

000000

map.grass

Grass block

7fb238

map.sand

Yellow sand

f7e9a3

map.cloth

Any wool

c7c7c7

map.tnt

TNT block

ff0000

map.ice

Ice, packed ice, blue ice

a0a0ff

map.iron

Iron blocks

a7a7a7

map.foliage

Grass, tall grass, flowers, ferns

007c00

map.clay

Clay

a4a8b8

map.dirt

Dirt, coarse dirt, rooted dirt

976d4d

map.stone

Stone

707070

map.water

Water source, water flowing

4040ff

map.wood

Any planks

8f7748

map.quartz

Any quartz block

fffcf5

map.gold

Gold block

faee4d

map.diamond

Diamond block

5cdbd5

map.lapis

Lapis block

4a80ff

map.emerald

Emerald block

00d93a

map.podzol

Podzol block

815631

map.netherrack

Netherrack block

700200

map.deepslate

Deepslate blocks

646464

map.raw_iron

Raw iron block

d8af93

map.glow_lichen

Glow lichen

7fa796

General colors

Key

Default

map.white

ffffff

map.orange

d87f33

map.magenta

b24cd8

map.light_blue

6699d8

map.yellow

e5e533

map.lime

7fcc19

map.pink

f27fa5

map.gray

4c4c4c

map.light_gray

999999

map.cyan

4c7f99

map.purple

7f3fb2

map.blue

334cb2

map.brown

664c33

map.green

667f33

map.red

993333

map.black

191919

Terracotta

Key

Default

map.white_terracotta

d1b1a1

map.orange_terracotta

9f5224

map.magenta_terracotta

95576c

map.light_blue_terracotta

706c8a

map.yellow_terracotta

ba8524

map.lime_terracotta

677535

map.pink_terracotta

a04d4e

map.gray_terracotta

392923

map.light_gray_terracotta

876b62

map.cyan_terracotta

575c5c

map.purple_terracotta

7a4958

map.blue_terracotta

4c3e5c

map.brown_terracotta

4c3223

map.green_terracotta

4c522a

map.red_terracotta

8e3c2e

map.black_terracotta

251610

Nether blocks

Key

Default

map.crimson_nylium

bd3031

map.crimson_stem

943f61

map.crimson_hyphae

5c191d

map.warped_nylium

167e86

map.warped_stem

3a8e8c

map.warped_hyphae

562c3e

map.warped_wart_block

14b485

Sheep coats

Key

Default

sheep.white

e6e6e6

sheep.orange

ba6015

sheep.magenta

953a8d

sheep.light_blue

2b86a3

sheep.yellow

bea22d

sheep.lime

609517

sheep.pink

b6687f

sheep.gray

353b3d

sheep.light_gray

757571

sheep.cyan

107575

sheep.purple

66258a

sheep.blue

2d337f

sheep.brown

623f25

sheep.green

465d10

sheep.red

84221c

sheep.black

151518

Collar colors

Used on wolf and cat collars.

_images/wolf.webp

The red collar on a tamed wolf.

_images/cat.webp

The red collar on a tamed cat.

Key

Default

collar.white

f9fffe

collar.orange

f9801d

collar.magenta

c74ebd

collar.light_blue

3ab3da

collar.yellow

fed83d

collar.lime

80c71f

collar.pink

f38baa

collar.gray

474f51

collar.light_gray

9d9d97

collar.cyan

169c9c

collar.purple

8932b8

collar.blue

3c44aa

collar.brown

835432

collar.green

5e7c16

collar.red

b02e26

collar.black

1d1d21

Dyes

Base color for banners, beacon beam, tropical fish, wolf and cat collars if unspecified.

Key

Default

dye.white

f9fffe

dye.orange

f9801d

dye.magenta

c74ebd

dye.light_blue

3ab3da

dye.yellow

fed83d

dye.lime

80c71f

dye.pink

f38baa

dye.gray

474f52

dye.light_gray

9d9d97

dye.cyan

169c9c

dye.purple

8932b8

dye.blue

3c44aa

dye.brown

835432

dye.green

5e7c16

dye.red

b02e26

dye.black

1d1d21

Text

Miscellaneous

Key

Meaning

Default

text.xpbar

Experience bar number color

80ff20

text.boss

“Boss Health” text color

ff00ff

text.sign

Sign text color by default

000000

Color codes

Note

Colors below text.code.15 are for text shadows, if enabled in options

Key

Default

text.code.0

000000

text.code.1

0000aa

text.code.2

00aa00

text.code.3

00aaaa

text.code.4

aa0000

text.code.5

aa00aa

text.code.6

ffaa00

text.code.7

aaaaaa

text.code.8

555555

text.code.9

5555ff

text.code.10

55ff55

text.code.11

55ffff

text.code.12

ff5555

text.code.13

ff55ff

text.code.14

ffff55

text.code.15

ffffff

text.code.16

000000

text.code.17

00002a

text.code.18

002a00

text.code.19

002a2a

text.code.20

2a0000

text.code.21

2a002a

text.code.22

2a2a00

text.code.23

2a2a2a

text.code.24

151515

text.code.25

15153f

text.code.26

153f15

text.code.27

153f3f

text.code.28

3f1515

text.code.29

3f153f

text.code.30

3f3f15

text.code.31

3f3f3f

Resource loading screen

Not to be confused with

Custom Loading Screens

_images/loading.webp

Red is screen.loading. Blue is screen.loading.outline. Green is screen.loading.progress. Purple is screen.loading.background.

Key

Meaning

Default

screen.loading

Background color

ffffff

screen.loading.bar

Loading bar background color

ffffff

screen.loading.outline

Loading bar outline color

000000

screen.loading.progress

Loading bar foreground color

e22837

screen.loading.blend

Logo blending mode

None

screen.loading

Default value

ffffff

Background color of the loading screen.

screen.loading.bar

Default value

ffffff

Loading bar background color. This is behind the progress bar.

screen.loading.outline

Default value

000000

Loading bar outline color. This is the outline around the bar's background.

screen.loading.progress

Default value

e22837

Loading bar foreground color. This is the progress bar itself.

screen.loading.blend

Default value

None for all 4 fields

Logo blending mode. Defined as 4 values split by a space.

Important

It is unclear what specifically these values do. If you know, please make an Issue on the repository!

In order, the fields are src, dst, dstA, and dstB.

All of these fields may be any of:

  • ZERO

  • ONE

  • SRC_COLOR

  • ONE_MINUS_SRC_COLOR

  • DST_COLOR

  • ONE_MINUS_DST_COLOR

  • SRC_ALPHA

  • ONE_MINUS_SRC_ALPHA

  • DST_ALPHA

  • ONE_MINUS_DST_ALPHA

  • SRC_ALPHA_SATURATE

Other

clouds

Overrides cloud type. Must be a single value of either:

  • fast

  • fancy

  • none

xporb.time

Default value

628

Experience orb animation duration, in milliseconds.

yVariance

If set, this property adds a random integer to the Y coordinate before sampling from the Colormaps, giving flat areas a more varied appearance.

Important

This only applies to the grid colormap format.

palette.format

Default value

vanilla

What format to use as a default for all colormaps, if not specified. Must be``grid``, vanilla, or fixed.

Aliases

  • map.snow: map.white

  • map.adobe: map.orange

  • map.silver: map.light_gray

  • map.lightBlue: map.light_blue

  • collar.silver: collar.light_gray

  • collar.lightBlue: collar.light_blue

  • dye.silver: dye.light_gray

  • dye.lightBlue: dye.light_blue

  • sheep.silver: sheep.light_gray

  • sheep.lightBlue: sheep.light_blue

Miscellaneous colormaps

Custom Colors allows the tints of different blocks, entities, and enviornments to be changed with a texture.

Because of their location, you can find this list at Colormaps and at Lightmaps.

Important

Although Custom Colors manages both of the files in the two separated lists, they are kept separate because of their file location.


Assumes the latest OptiFine version.
Updated to commit dc7b4aca.

Last update: 2024 March 13