To customize the color of dotted border, select the range. Press Ctrl+1 to open Format cells dialog box. Go to Border tab > click Color drop-down. Select any color. The selected color will be applied to the dotted border instead of the default black color.