Lines Matching refs:rgb2hsl
1292 tools::rgb2hsl(maWhite) == BColor(0,0,1)); in hslTest()
1294 tools::rgb2hsl(maBlack) == BColor(0,0,0)); in hslTest()
1296 tools::rgb2hsl(maRed) == BColor(0,1,0.5)); in hslTest()
1298 tools::rgb2hsl(maGreen) == BColor(120,1,0.5)); in hslTest()
1300 tools::rgb2hsl(maBlue) == BColor(240,1,0.5)); in hslTest()
1302 tools::rgb2hsl(maYellow) == BColor(60,1,0.5)); in hslTest()
1304 tools::rgb2hsl(maMagenta) == BColor(300,1,0.5)); in hslTest()
1306 tools::rgb2hsl(maCyan) == BColor(180,1,0.5)); in hslTest()
1308 tools::rgb2hsl(BColor(0,0.5,1)) == BColor(210,1,0.5)); in hslTest()
1311 tools::hsl2rgb(tools::rgb2hsl(maWhite)) == maWhite); in hslTest()
1313 tools::hsl2rgb(tools::rgb2hsl(maBlack)) == maBlack); in hslTest()
1315 tools::hsl2rgb(tools::rgb2hsl(maRed)) == maRed); in hslTest()
1317 tools::hsl2rgb(tools::rgb2hsl(maGreen)) == maGreen); in hslTest()
1319 tools::hsl2rgb(tools::rgb2hsl(maBlue)) == maBlue); in hslTest()
1321 tools::hsl2rgb(tools::rgb2hsl(maYellow)) == maYellow); in hslTest()
1323 tools::hsl2rgb(tools::rgb2hsl(maMagenta)) == maMagenta); in hslTest()
1325 tools::hsl2rgb(tools::rgb2hsl(maCyan)) == maCyan); in hslTest()
1328 tools::rgb2hsl(maWhite*.1) == BColor(0,0,.1)); in hslTest()
1330 tools::rgb2hsl(maWhite*.9) == BColor(0,0,.9)); in hslTest()
1332 tools::rgb2hsl(maRed*.5) == BColor(0,1,0.25)); in hslTest()
1334 tools::rgb2hsl(maGreen*.5) == BColor(120,1,0.25)); in hslTest()
1336 tools::rgb2hsl(maBlue*.5) == BColor(240,1,0.25)); in hslTest()
1338 tools::rgb2hsl(maYellow*.5) == BColor(60,1,0.25)); in hslTest()
1340 tools::rgb2hsl(maMagenta*.5) == BColor(300,1,0.25)); in hslTest()
1342 tools::rgb2hsl(maCyan*.5) == BColor(180,1,0.25)); in hslTest()
1345 tools::rgb2hsl(BColor(.75,.25,.25)) == BColor(0,.5,.5)); in hslTest()