An LED sets its own voltage. A red one is about 1.8V to about 2.0V. A blue or white one is about 3.2V to about 3.6V and they are all different unless they were all measured and grouped.
The brightness of an LED is controlled by adjusting its current, not its voltage. To avoid burning out an LED it must have a series current-limiting resistor. The series resistor and LED can be fed a variable voltage that adjusts the current which controls the brightness.
You said you have a transformer. A transformer has an AC output which might burn out an LED that needs a DC current. +15V at 5A will heat an LED with 15V x 5A= 75W which will instantly fry an LED designed for 2V x 20mA= 0.04W.