Skip to content

Recoloring UI Elements

Sean Lynch edited this page Nov 11, 2025 · 1 revision

Some UI elements in KSP are not colored using textures but are instead colored by the code itself. This is due to some elements changing color based on what is currently happening (e.g. the clock text changing color based on game lag/performance). HUDReplacer allows you to recolor these by specifying a HUDReplacerRecolor config.

Below is an example config for all of the possible recolor options:

HUDReplacerRecolor:NEEDS[HUDReplacer]
{
	priority = 1
	tumblerColorPositive = 1,1,1,1
	tumblerColorNegative = 1,1,1,1
	PAWTitleBar = 1,1,1,1
	PAWBlueButton = 1,1,1,1
	PAWBlueButtonToggle = 1,1,1,1
	PAWVariantSelectorNext = 1,1,1,1
	PAWVariantSelectorPrevious = 1,1,1,1
	PAWResourcePriorityIncrease = 1,1,1,1
	PAWResourcePriorityDecrease = 1,1,1,1
	PAWResourcePriorityReset = 1,1,1,1
	PAWFuelSliderColor = 1,1,1,1
	PAWFuelSliderTextColor = 1,1,1,1
	KALTitleBar = 1,1,1,1
	gaugeNeedleYawPitchRoll = 1,1,1,1
	gaugeNeedleYawPitchRollPrecision = 1,1,1,1
	METDisplayColorRed = 1,1,1,1
	METDisplayColorYellow = 1,1,1,1
	METDisplayColorGreen = 1,1,1,1
	speedDisplayColorText = 1,1,1,1
	navBallHeadingColor = 1,1,1,1
	speedDisplayColorSpeed = 1,1,1,1
	stageTotalDeltaVColor = 1,1,1,1
	stageGroupDeltaVTextColor = 1,1,1,1
	stageGroupDeltaVNumberColor = 1,1,1,1
	stageGroupDeltaVBackgroundColor = 1,1,1,1
	navballCursor = 1,1,1,1
	verticalSpeedGaugeNeedleColor = 1,1,1,1
	maneuverNodeEditorTextColor = 1,1,1,1
	stageEngineFuelGaugeTextColor = 1,1,1,1
	stageEngineHeatGaugeTextColor = 1,1,1,1
	stageEngineFuelGaugeBackgroundColor = 1,1,1,1
	stageEngineHeatGaugeBackgroundColor = 1,1,1,1
	stageEngineFuelGaugeFillColor = 1,1,1,1
	stageEngineHeatGaugeFillColor = 1,1,1,1
	stageEngineFuelGaugeFillBackgroundColor = 1,1,1,1
	stageEngineHeatGaugeFillBackgroundColor = 1,1,1,1
	SASDisplayOnColor = 1,1,1,1
	SASDisplayOffColor = 1,1,1,1
	RCSDisplayOnColor = 1,1,1,1
	RCSDisplayOffColor = 1,1,1,1	
	EditorCategoryButtonColor = 1,1,1,1
	EditorCategoryModuleButtonColor = 1,1,1,1
	EditorCategoryResourceButtonColor = 1,1,1,1
	EditorCategoryManufacturerButtonColor = 1,1,1,1
	EditorCategoryTechButtonColor = 1,1,1,1
	EditorCategoryProfileButtonColor = 1,1,1,1
	EditorCategorySubassemblyButtonColor = 1,1,1,1
	EditorCategoryVariantsButtonColor = 1,1,1,1
	EditorCategoryCustomButtonColor = 1,1,1,1
}

Clone this wiki locally