We focus on fuzzy graphs with crisp vertex and fuzzy edge sets. A concept of the fuzzy chromatic number of these graphs based on a fuzzy independent vertex set is used in this paper. A modified algorithm called a fuzzy chromatic algorithm is developed to find the fuzzy chromatic number of the union of fuzzy graphs. Running time and complexity of the algorithm are also analyzed. Furthermore, we investigate some properties of the fuzzy chromatic number of the union of fuzzy graphs. Finally, an application of the fuzzy chromatic number to determine the number of phases of an integrated traffic light system is proposed. We get different phases with different degrees of safety.