--- Flash text color (good for visually showing updates to text)



return function(textLabel, speed)
	--- Variables
	speed = speed or 1
	
	--- Cache original text color (or grab it)
	local originalTextColor = _L.GUIFX.CacheProperty(textLabel, "TextColor3")
	
	--- Change to 'flashed' text
	if originalTextColor == Color3.new(1, 1, 1) then
		--- Half text color saturation
		textLabel.TextColor3 = Color3.new(
			originalTextColor.r / 2,  
			originalTextColor.g / 2, 
			originalTextColor.b / 2
		)
	else
		--- Double text color saturation
		textLabel.TextColor3 = Color3.new(
			originalTextColor.r * 2,  
			originalTextColor.g * 2, 
			originalTextColor.b * 2
		)
	end
	
	--- Revert (fade in)
	local tween = _L.Functions.FastTween(textLabel, {TextColor3 = originalTextColor}, {speed, EasingStyle})
end
