{"text_format":"1","workbook":"xlsx","n_sheets":1,"sheets":["Ark1"],"not_rendered":{"charts":0,"images":0,"macros":1,"external_links":0,"defined_names":24,"comments":0,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"Ark1","index":0,"n_rows":23,"n_cols":9,"rows_kept":23,"cut":false,"hidden":false,"merged":[[6,1,6,2]]}
["APCA-utregning"]
[null,null,null,null,"Konstanter"]
[null,"Tekst","Bakgrunn",null,"S_trc","Ntx","Nbg","Rtx","Rbg"]
["R",125,0,null,2.4,0.56999999999999995,0.56000000000000005,0.62,0.65]
["G",125,0,null,"B_clip","B_thrsh","W_scale","W_offset","W_clamp "]
["B",255,0,null,1.4139999999999999,2.1999999999999999E-2,1.1399999999999999,2.7E-2,0.1]
[null,"Demo tekst"]
[null,"APCA","WCAG 2.x"]
["Kontrast",{"$f":"L_c","v":-40.919364600954751},{"$f":"(MAX(txt_luminans, bg_luminans) + 0.05) / (MIN(txt_luminans, bg_luminans) + 0.05)","v":6.2494410324587202}]
[]
["Relativ luminans (WCAG 2.x)"]
["Tekst",{"$f":"0.2126 * IF(txt_r/255<=0.03928,txt_r/255/12.92,((txt_r/255+0.055)/1.055)^2.4) + 0.7152 * IF(txt_g/255<=0.03928,txt_g/255/12.92,((txt_g/255+0.055)/1.055)^2.4) + 0.0722 * IF(txt_b/255<=0.03928,txt_b/255/12.92,((txt_b/255+0.055)/1.055)^2.4)","v":0.26247205162293602}]
["Bakgrunn",{"$f":"0.2126 * IF(bg_r/255<=0.03928,bg_r/255/12.92,((bg_r/255+0.055)/1.055)^2.4) + 0.7152 * IF(bg_g/255<=0.03928,bg_g/255/12.92,((bg_g/255+0.055)/1.055)^2.4) + 0.0722 * IF(bg_b/255<=0.03928,bg_b/255/12.92,((bg_b/255+0.055)/1.055)^2.4)","v":0}]
["Mørk/lys",{"$f":"IF(txt_luminans<bg_luminans, \"Tekst er mørkest\", IF(txt_luminans>bg_luminans, \"Bakgrunn er mørkest\", \"Tekst og bakgrunn er like\"))","v":"Bakgrunn er mørkest"}]
[]
["Lysstyrke (APCA)"]
["ys tekst",{"$f":" (txt_r / 255) ^ S_trc * 0.2126729\n+ (txt_g / 255) ^ S_trc * 0.7151522\n+ (txt_b / 255) ^ S_trc * 0.072175","v":0.23980576048842056}]
["ys bakgrunn",{"$f":" (bg_r / 255) ^ S_trc * 0.2126729\n+ (bg_g / 255) ^ S_trc * 0.7151522\n+ (bg_b / 255) ^ S_trc * 0.072175","v":0}]
["Mørk/lys",{"$f":"IF(txt_ys<bg_ys, \"Tekst er mørkest\", IF(txt_ys>bg_ys, \"Bakgrunn er mørkest\", \"Tekst og bakgrunn er like\"))","v":"Bakgrunn er mørkest"}]
["y_txt",{"$f":"IF(txt_ys<0, 0, IF(txt_ys<B_thrsh, txt_ys + (B_thrsh - txt_ys) ^ B_clip, txt_ys))","v":0.23980576048842056}]
["y_bg",{"$f":"IF(bg_ys<0, 0, IF(bg_ys<B_thrsh, bg_ys + (B_thrsh - bg_ys) ^ B_clip, bg_ys))","v":4.5309124522523638E-3}]
["S_apc",{"$f":"IF(txt_ys<bg_ys, (y_bg ^ Nbg - y_txt ^ Ntx) * W_scale, (y_bg ^ Rbg - y_txt ^ Rtx) * W_scale)","v":-0.43619364600954752}]
["L^c",{"$f":"IF(ABS(S_apc) < W_clamp, 0, IF(S_apc >0, (S_apc - W_offset) * 100, (S_apc + W_offset) * 100))","v":-40.919364600954751}]