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

Video Settings ‣ Quality

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

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.bad_omen

#0B6138

potion.blindness

#1F1F23

potion.conduit_power

#1DC2D1

potion.darkness

#292721

potion.dolphins_grace

#88A3BE

potion.fire_resistance

#FF9900

potion.glowing

#94A061

potion.haste

#D9C043

potion.health_boost

#F87D23

potion.hero_of_the_village

#44FF44

potion.hunger

#587653

potion.infested

#8C9B8C

potion.instant_damage

#A9656A

potion.instant_health

#F82423

potion.invisibility

#F6F6F6

potion.jump_boost

#FDFF84

potion.levitation

#CEFFFF

potion.luck

#59C106

potion.mining_fatigue

#4A4217

potion.nausea

#551D4A

potion.night_vision

#C2FF66

potion.oozing

#99FFA3

potion.poison

#87A363

potion.raid_omen

#DE4058

potion.regeneration

#CD5CAB

potion.resistance

#9146F0

potion.saturation

#F82423

potion.slowness

#8BAFE0

potion.slow_falling

#F3CFB9

potion.speed

#33EBFF

potion.strength

#FFC700

potion.trial_omen

#16A6A6

potion.unluck

#C0A44D

potion.water_breathing

#98DAC0

potion.weakness

#484D48

potion.weaving

#78695A

potion.wind_charged

#BDC9FF

potion.wither

#736156

potion.water

#385DC6

Spawner eggs

_images/spawnegg_label.webp

Red are the shell, blue are the spots.

Key

Default

Notes

egg.shell.<entity>

None

Shell color

egg.spots.<entity>

None

Spots color

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

Map pixels

Key

Default

Notes

map.air

#000000

Air and unrendered and void

map.grass

#7FB238

map.sand

#F7E9A3

Yellow sand

map.cloth

#C7C7C7

Wool

map.tnt

#FF0000

map.ice

#A0A0FF

Ice and packed ice and blue ice

map.iron

#A7A7A7

map.foliage

#007C00

Grass and tall grass and any flower and ferns

map.clay

#A4A8B8

map.dirt

#976D4D

Dirt and coarse dirt and rooted dirt

map.stone

#707070

map.water

#4040FF

map.wood

#8F7748

Any planks

map.quartz

#FFFCF5

Any quartz

map.gold

#FAEE4D

map.diamond

#5CDBD5

map.lapis

#4A80FF

map.emerald

#00D93A

map.podzol

#815631

map.netherrack

#700200

map.deepslate

#646464

Any deepslate

map.raw_iron

#D8AF93

map.glow_lichen

#7FA796

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

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

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

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

Collars

Used on tamed 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. Also affects wolf and cat collars if they are 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

Note

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

Key

Default

text.xpbar

#80FF20

text.boss

#FF00FF

text.sign

#000000

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, behind bar

#FFFFFF

screen.loading.outline

Loading bar outline color

#000000

screen.loading.progress

Loading bar foreground color

#E22837

screen.loading.blend

Logo blending mode. Space-separated of 4 fields, ordered as src, dst, dstA, dstB.
Each field must be one 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

None on all 4 fields

Miscellaneous

Key

Meaning

Default

particle.water

Base water particle color (splashes, bubbles, drops).
Biome water color multiplier is applied to this value.
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

fog.end

Fog used in The End dimension

#181318

sky.end

Color of the sky in The End dimension

#282828

lilypad

Single color, used across all biomes

#208030

Aliases

From

To

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

Non-color options

Despite its name, other properties not related to colors can also be controlled.

Key

Default

Notes

clouds

Unset

Override cloud type. Must be one of fast, fancy, none

yVariance

Unset

If set, add a random integer to the Y coordinate before sampling from the Colormaps. Only for grid colormap format

palette.format

Unset

Default format for colormaps if not set. Must be one of grid, vanilla, fixed

xporb.time

628

Experience orb animation duration (milliseconds)

Colormaps options

Important

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

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.


Assumes the latest OptiFine & Minecraft versions.
Updated to commit 967a9fdb.

Last update: 2025 February 23