Rank		MetalColor (hex, rounded)	MetalPower	MetalSaturation
-------------------------------------------------------------------------------
Bronze		#F5CFA7				3.74		1.0
Silver		#B1D8E9				4.18		1.0
Gold		#FFDF19				4.42		1.0
Platinum	#A7C1CF				4.00		1.0

-------------------------------------------------------------------------------

F(x, C) = 2 * x * C                    if x <= 0.5
F(x, C) = 1 - 2 * (1 - x) * (1 - C)   if x > 0.5

Metal  = F(G, MetalColor) ^ MetalPower
Detail = F(B, DetailColor)
RGB    = clamp(Metal + Detail, 0, 1)
Alpha  = A

-------------------------------------------------------------------------------

The original green badge textures are coloured in-game using the NianticCustom/UI/UI-Badge shader. The green channel controls the metallic shading, while the blue channel controls the additional coloured details. The red channel seems to be unused.