Image edge detection plays a crucial role in image analysis and recognition. However, when dealing with color images captured by unmanned aerial vehicles (UAVs), there are certain limitations, such as large operations, multiple noise sources, easy distortion, and missing information in edge detection. To address these shortcomings, this study proposes a UAV color image edge detection method based on an enhanced fireworks algorithm. In this method, the color image pixels of the UAV are represented using quaternions. The explosion amplitude formula of the fireworks is divided into two categories based on the mean value of the number of fireworks explosions. For each category, an explosion formula is proposed, and the explosion mutation operator of the fireworks algorithm is improved accordingly. By applying the proposed algorithm, the preliminary edges of a UAV color image are obtained. Additionally, a novel approach for color image edge refinement is introduced. This approach involves classifying the edge points based on their degree of attachment, which leads to the formation of the edges in a UAV color image. Experimental results demonstrate that the algorithm proposed in this study offers several advantages, including fast calculation, strong denoising capability, and high-quality edge detection.