-
Notifications
You must be signed in to change notification settings - Fork 41
/
srgb.py
1 lines (1 loc) · 5.17 KB
/
srgb.py
1
SRGB_TABLE = [0.0, 0.00024420025874860585, 0.0004884005174972117, 0.0009768010349944234, 0.0012210012646391988, 0.0014652014942839742, 0.0017094017239287496, 0.002197802299633622, 0.0024420025292783976, 0.002686202758923173, 0.0029304029885679483, 0.003418803447857499, 0.0036630036775022745, 0.0039072041399776936, 0.004395604599267244, 0.004884005058556795, 0.0051282052882015705, 0.005616605747491121, 0.006105006206780672, 0.006593406666070223, 0.007081807125359774, 0.007570207584649324, 0.008058608509600163, 0.008547008968889713, 0.009035409428179264, 0.00976801011711359, 0.010256410576403141, 0.010989011265337467, 0.011721611954271793, 0.012210012413561344, 0.01294261310249567, 0.013675213791429996, 0.014407814480364323, 0.015140415169298649, 0.016117217019200325, 0.01684981770813465, 0.017582418397068977, 0.01855921931564808, 0.019291820004582405, 0.020268620923161507, 0.021245421841740608, 0.02222222276031971, 0.02319902367889881, 0.024175824597477913, 0.025152625516057014, 0.026129426434636116, 0.027350427582859993, 0.028327228501439095, 0.02954822964966297, 0.03076923079788685, 0.031990233808755875, 0.03321123495697975, 0.03443223610520363, 0.035653237253427505, 0.03687423840165138, 0.03809523954987526, 0.03956044092774391, 0.041025642305612564, 0.04224664345383644, 0.04371184483170509, 0.045177046209573746, 0.0466422475874424, 0.04810744896531105, 0.04981685057282448, 0.05128205195069313, 0.05274725332856178, 0.05445665493607521, 0.05616605654358864, 0.057875458151102066, 0.059584859758615494, 0.06129426136612892, 0.06300366669893265, 0.06471306830644608, 0.06666667014360428, 0.0683760717511177, 0.07032967358827591, 0.07228327542543411, 0.07423687726259232, 0.07619047909975052, 0.07814408093690872, 0.0803418830037117, 0.0822954848408699, 0.08449328690767288, 0.08644688874483109, 0.08864469081163406, 0.09084249287843704, 0.09304029494524002, 0.095238097012043, 0.09768009930849075, 0.09987790137529373, 0.10231990367174149, 0.10451770573854446, 0.10695970803499222, 0.10940171033143997, 0.11184371262788773, 0.11452991515398026, 0.11697191745042801, 0.11965811997652054, 0.12210012227296829, 0.12478632479906082, 0.12747253477573395, 0.13015873730182648, 0.132844939827919, 0.13553114235401154, 0.13846154510974884, 0.14114774763584137, 0.14407815039157867, 0.14700855314731598, 0.14993895590305328, 0.1528693586587906, 0.15604396164417267, 0.15897436439990997, 0.16214896738529205, 0.16507937014102936, 0.16825397312641144, 0.17142857611179352, 0.1746031790971756, 0.17777778208255768, 0.18119658529758453, 0.1843711882829666, 0.18778999149799347, 0.19120879471302032, 0.19462759792804718, 0.19804640114307404, 0.2014652043581009, 0.20512820780277252, 0.20854701101779938, 0.212210014462471, 0.21587301790714264, 0.21953602135181427, 0.2231990247964859, 0.22686202824115753, 0.23076923191547394, 0.23443223536014557, 0.23833943903446198, 0.24224664270877838, 0.2461538463830948, 0.2500610649585724, 0.25421246886253357, 0.25811967253685, 0.26227107644081116, 0.26642248034477234, 0.2705738842487335, 0.2747252881526947, 0.2788766920566559, 0.28302809596061707, 0.287423700094223, 0.291819304227829, 0.29621490836143494, 0.3006105124950409, 0.30500611662864685, 0.3094017207622528, 0.31404152512550354, 0.3184371292591095, 0.32307693362236023, 0.32771673798561096, 0.3323565423488617, 0.3372405469417572, 0.34188035130500793, 0.34676435589790344, 0.35164836049079895, 0.3562881648540497, 0.36141636967658997, 0.3663003742694855, 0.371184378862381, 0.37631258368492126, 0.38144078850746155, 0.38632479310035706, 0.39145299792289734, 0.3968254029750824, 0.4019536077976227, 0.40732601284980774, 0.412454217672348, 0.4178266227245331, 0.42319902777671814, 0.4285714328289032, 0.43418803811073303, 0.4395604431629181, 0.4451770484447479, 0.45079365372657776, 0.4564102590084076, 0.4620268642902374, 0.46788766980171204, 0.47350427508354187, 0.4793650805950165, 0.4852258861064911, 0.4910866916179657, 0.4969474971294403, 0.5028083324432373, 0.5089133381843567, 0.5150183439254761, 0.5208791494369507, 0.5272283554077148, 0.5333333611488342, 0.5394383668899536, 0.5457875728607178, 0.5518925786018372, 0.5582417845726013, 0.5645909905433655, 0.5711843967437744, 0.5775336027145386, 0.5841270089149475, 0.5907204151153564, 0.5973138213157654, 0.6039072275161743, 0.6105006337165833, 0.6170940399169922, 0.6239316463470459, 0.6307692527770996, 0.6376068592071533, 0.644444465637207, 0.6515262722969055, 0.6583638787269592, 0.6654456853866577, 0.6725274920463562, 0.6796092987060547, 0.6866911053657532, 0.6937729120254517, 0.7010989189147949, 0.7084249258041382, 0.7157509326934814, 0.7230769395828247, 0.730402946472168, 0.737973153591156, 0.7452991604804993, 0.7528693675994873, 0.7604395747184753, 0.7682539820671082, 0.7758241891860962, 0.783638596534729, 0.791208803653717, 0.7990232110023499, 0.8068376183509827, 0.8148962259292603, 0.8227106332778931, 0.8307692408561707, 0.8388278484344482, 0.8468864560127258, 0.8549450635910034, 0.8632478713989258, 0.8713064789772034, 0.8796092867851257, 0.8879120945930481, 0.8962149024009705, 0.9047619104385376, 0.91306471824646, 0.9216117262840271, 0.9301587343215942, 0.9387057423591614, 0.9472527503967285, 0.9560439586639404, 0.9645909667015076, 0.9733821749687195, 0.9821733832359314, 0.9912087917327881, 1.0]