For b = 0 To 120 Step 30 '打造256色位图调色板(实际250色)
For g = 0 To 120 Step 30
For r = 0 To 120 Step 30
With bi.bmiColors(Lindex)
.rgbRed = r: .rgbGreen = g: .rgbBlue = b
End With
Lindex = Lindex + 1
Next r
Next g
Next b
For b = 147 To 255 Step 27
For g = 147 To 255 Step 27
For r = 147 To 255 Step 27
With bi.bmiColors(Lindex)
.rgbRed = r: .rgbGreen = g: .rgbBlue = b
End With
Lindex = Lindex + 1
Next r
Next g
Next b