Commit 1fc8c7d3 authored by Chathurdi Vibhuda's avatar Chathurdi Vibhuda

feat: front-end changes html and css.

parent aa7a7fdb
body {
font-family: 'Arial', sans-serif;
background-image: url('gridme.png');
}
h1 {
text-align: center;
text-shadow: 0px 1px 3px black;
font-size: 80px;
}
p
{
text-shadow: 0px 1px 3px #999999;
}
div
{
font-size: 25px;
text-shadow: 0px 1px 3px #999999;
}
.colorResults {
width: 100px;
height: 100px;
float: left;
margin: 5px 5px 5px 5px;
padding: 5px 5px 5px 5px;
color: #ffffff;
text-shadow: 1px 1px 1px black;
}
.thumb {
height: 250px;
/*border: 1px solid #000;*/
margin: 10px 10px 10px 10px;
-moz-box-shadow: 0px 2px 8px 0px #555;
-webkit-box-shadow: 0px 2px 8px 0px #555;
box-shadow: 0px 2px 8px 0px #555;
}
.swatch
{
width: 50px;
height: 50px;
float: left;
margin: 5px 5px 5px 5px;
padding: 5px 5px 5px 5px;
color: #ffffff;
text-shadow: 1px 1px 1px black;
border: 1px solid #999999;
}
#scheme
{
display: none;
width: 400px;
}
// The files that compile
@import 'abstracts/index';
@import 'base/index';
@import 'layout/index';
@import 'components/index';
@import url("https://fonts.googleapis.com/css?family=Playfair+Display:400,400i|Source+Sans+Pro:300,500,700&display=swap");
*,
*::before,
*::after {
box-sizing: border-box; }
body,
h1,
h2,
h3,
h4,
p,
li,
figure,
figcaption,
blockquote,
dl,
dd {
margin: 0; }
body {
min-height: 100vh;
scroll-behavior: smooth;
text-rendering: optimizeSpeed;
font-family: "Source Sans Pro", "Healvetica Neue", sans-serif;
font-size: 100%;
font-weight: 300;
line-height: 1.5;
color: #aaa2a2;
text-align: left;
background-color: #0f0e0e; }
@media (max-width: 38.75em) {
body {
text-rendering: optimizeLegibility; } }
.list-unstyled {
margin: 0; }
a:not([class]) {
text-decoration-skip-ink: auto; }
img {
max-width: 100%;
display: block; }
.rhythm > * + * {
margin-top: 1.5rem; }
input,
button,
textarea,
select {
font: inherit; }
a {
color: #70BDC1;
text-decoration: underline;
-webkit-text-decoration-skip: objects;
transition: all 250ms ease; }
a:hover, a:focus {
color: #f8f2f2;
text-decoration: none; }
a:not([href]):not([tabindex]) {
color: inherit;
text-decoration: none; }
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
color: inherit;
text-decoration: none;
outline: 0; }
[tabindex="-1"]:focus {
outline: 0 !important; }
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important; } }
pre {
line-height: 1.8;
padding: 1.5rem 1rem;
margin-bottom: 1.375rem; }
hr {
border: 0;
color: transparent;
height: 0px;
margin: 0;
padding: 0; }
img {
height: auto;
max-width: 100%; }
video {
height: auto;
max-width: 100%;
width: 100%; }
iframe {
max-width: 100%;
width: 100%; }
b,
strong,
th,
dt {
font-weight: 700;
letter-spacing: 0.03125em; }
.display-1 {
font-size: 2.3125rem;
line-height: 1.105;
margin-top: 2rem;
margin-bottom: 1rem; }
@media (min-width: 2.421875rem) {
.display-1 {
font-size: calc(2.3125rem + (5.75 - 2.3125) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
.display-1 {
font-size: 5.75rem; } }
.display-2 {
font-size: 2.0625rem;
line-height: 1;
margin-top: 1.625rem;
margin-bottom: 1.5rem; }
@media (min-width: 2.421875rem) {
.display-2 {
font-size: calc(2.0625rem + (4.75 - 2.0625) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
.display-2 {
font-size: 4.75rem; } }
.display-3 {
font-size: 1.875rem;
line-height: 1.1875;
margin-top: 2rem;
margin-bottom: 1.25rem; }
@media (min-width: 2.421875rem) {
.display-3 {
font-size: calc(1.875rem + (3.9375 - 1.875) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
.display-3 {
font-size: 3.9375rem; } }
.display-4 {
font-size: 1.6875rem;
line-height: 1.375;
margin-top: -0.5rem;
margin-bottom: 0.875rem; }
@media (min-width: 2.421875rem) {
.display-4 {
font-size: calc(1.6875rem + (3.25 - 1.6875) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
.display-4 {
font-size: 3.25rem; } }
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
font-family: "Playfair Display", serif;
font-weight: normal; }
h1,
.h1 {
font-size: 1.5rem; }
@media (min-width: 2.421875rem) {
h1,
.h1 {
font-size: calc(1.5rem + (2.6875 - 1.5) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
h1,
.h1 {
font-size: 2.6875rem; } }
h2,
.h2 {
font-size: 1.375rem; }
@media (min-width: 2.421875rem) {
h2,
.h2 {
font-size: calc(1.375rem + (2.25 - 1.375) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
h2,
.h2 {
font-size: 2.25rem; } }
h3,
.h3 {
font-size: 1.25rem; }
@media (min-width: 2.421875rem) {
h3,
.h3 {
font-size: calc(1.25rem + (1.875 - 1.25) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
h3,
.h3 {
font-size: 1.875rem; } }
h4,
.h4 {
font-size: 1.125rem; }
@media (min-width: 2.421875rem) {
h4,
.h4 {
font-size: calc(1.125rem + (1.5625 - 1.125) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
h4,
.h4 {
font-size: 1.5625rem; } }
h5,
.h5 {
font-size: 1rem;
font-weight: 700; }
@media (min-width: 2.421875rem) {
h5,
.h5 {
font-size: calc(1rem + (1.3125 - 1) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
h5,
.h5 {
font-size: 1.3125rem; } }
h6,
.h6 {
font-size: 0.9375rem;
font-weight: 700;
letter-spacing: 0.03125em;
text-transform: uppercase; }
@media (min-width: 2.421875rem) {
h6,
.h6 {
font-size: calc(0.9375rem + (1.125 - 0.9375) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
h6,
.h6 {
font-size: 1.125rem; } }
@media (min-width: 2.421875rem) {
p,
blockquote,
address,
li,
dt,
dd,
label,
input,
.text-size-normal {
font-size: calc(0.9375rem + (1.125 - 0.9375) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
p,
blockquote,
address,
li,
dt,
dd,
label,
input,
.text-size-normal {
font-size: 1.125rem; } }
li {
padding-bottom: 0.125rem; }
details {
padding-bottom: 1rem;
margin-bottom: 0.5rem; }
summary > * {
display: inline-block; }
summary::-webkit-details-marker {
font-size: 1.75em; }
small,
.text-small {
font-size: 0.8125rem; }
@media (min-width: 2.421875rem) {
small,
.text-small {
font-size: calc(0.8125rem + (0.9375 - 0.8125) * ((100vw - 2.421875rem) / 2.265625)); } }
@media (min-width: 4.6875rem) {
small,
.text-small {
font-size: 0.9375rem; } }
.text-uppercase {
letter-spacing: 0.03125em;
text-transform: uppercase; }
.text-italic {
font-family: "Playfair Display", serif;
font-style: italic;
letter-spacing: 0.03125em; }
abbr,
.text-abbr {
font-size: 93.75%;
letter-spacing: 0.03125em;
text-transform: uppercase; }
.u__space__outer {
padding-left: 1rem;
padding-right: 1rem; }
@media (min-width: 1.71875rem) {
.u__space__outer {
padding-left: calc(1rem + (3 - 1) * ((100vw - 1.71875rem) / 2.03125));
padding-right: calc(1rem + (3 - 1) * ((100vw - 1.71875rem) / 2.03125)); } }
@media (min-width: 3.75rem) {
.u__space__outer {
padding-left: 3rem;
padding-right: 3rem; } }
.u__space__inner {
padding-left: 1rem;
padding-right: 1rem; }
@media (min-width: 1.71875rem) {
.u__space__inner {
padding-left: calc(1rem + (2 - 1) * ((100vw - 1.71875rem) / 2.03125));
padding-right: calc(1rem + (2 - 1) * ((100vw - 1.71875rem) / 2.03125)); } }
@media (min-width: 3.75rem) {
.u__space__inner {
padding-left: 2rem;
padding-right: 2rem; } }
.u__space__vertical {
padding-top: 1.5rem;
padding-bottom: 1.5rem; }
@media (min-width: 1.71875rem) {
.u__space__vertical {
padding-top: calc(1.5rem + (4.5 - 1.5) * ((100vw - 1.71875rem) / 2.03125));
padding-bottom: calc(1.5rem + (4.5 - 1.5) * ((100vw - 1.71875rem) / 2.03125)); } }
@media (min-width: 3.75rem) {
.u__space__vertical {
padding-top: 4.5rem;
padding-bottom: 4.5rem; } }
.u__space__vertical--top {
padding-top: 1.5rem; }
@media (min-width: 1.71875rem) {
.u__space__vertical--top {
padding-top: calc(1.5rem + (4.5 - 1.5) * ((100vw - 1.71875rem) / 2.03125)); } }
@media (min-width: 3.75rem) {
.u__space__vertical--top {
padding-top: 4.5rem; } }
.u__space__vertical--bottom {
padding-bottom: 1.5rem; }
@media (min-width: 1.71875rem) {
.u__space__vertical--bottom {
padding-bottom: calc(1.5rem + (4.5 - 1.5) * ((100vw - 1.71875rem) / 2.03125)); } }
@media (min-width: 3.75rem) {
.u__space__vertical--bottom {
padding-bottom: 4.5rem; } }
.text-align-left {
text-align: left; }
.text-align-center {
text-align: center; }
.text-align-right {
text-align: right; }
.l__max {
margin: 0 auto;
max-width: 86.25em; }
.l__max--text {
margin: 0 auto;
max-width: 50em; }
.g__row {
display: flex;
flex-flow: row wrap;
align-items: flex-start;
margin: -1rem; }
.g__col {
flex: 1 0 100%;
max-width: 100%;
padding: 0 1rem; }
.g--wide {
flex: 1 1 100%;
min-width: 100%; }
@media (min-width: 38.75em) {
.g--two {
flex: 1 0 50%;
max-width: 50%; } }
@media (min-width: 47.5em) {
.g--three {
flex: 1 0 33.3%;
max-width: 33.3%; } }
.p__header {
background-color: #0f0e0e; }
.p__main {
background-color: #1a1818; }
.p__footer {
background-color: #0f0e0e; }
.p__footer small {
color: #b8aeae; }
.p__footer__logo {
float: left;
margin-right: 1rem; }
.cc__brand {
display: flex;
flex-flow: row nowrap;
align-items: center;
justify-content: space-between; }
.cc__brand__title a {
display: flex;
flex-flow: row nowrap;
align-items: center;
justify-content: flex-start;
padding-top: 0.5rem;
text-decoration: none; }
.cc__brand__title a img {
margin: 0 1rem -0.625rem 0; }
.cc__form__textarea {
height: 10.5em;
width: 100%; }
.cc__form__input {
padding: 0.75rem; }
.cc__form__row .cc__form__label {
display: inline-block;
padding: 0.75rem;
width: 4em; }
.cc__form__row .cc__form__input {
width: 6em; }
.cc__form__button {
border: 0;
cursor: pointer;
display: inline-block;
font-weight: 700;
padding: 0.5rem 1.5rem;
text-transform: uppercase;
transition: all 250ms ease;
-webkit-appearance: none; }
.cc__results {
display: none;
visibility: hidden; }
.results__row {
display: flex;
flex-flow: row nowrap;
padding-top: 1rem; }
.results__col {
padding-bottom: 1rem;
flex: 1 0 auto; }
.results__row .results__row {
border: 0;
flex: 1 0 50%;
padding-top: 0; }
.ratios__original {
flex: 0 0 11.25rem; }
.ratios__custom input {
padding: 0.25rem 0.5rem;
width: 6em; }
.original__label {
padding-bottom: 0.5rem; }
.original__hsl {
float: left; }
.original__hsl p {
padding: 0.375rem 0 0.375rem; }
.original__swatch {
float: right;
height: 7.5rem;
width: 5.625rem; }
.mod__label {
padding-bottom: 0.5rem; }
.mod__swatch {
float: left;
margin-right: 0.5rem;
height: 7.5rem;
width: 5.625rem; }
.mod__controls label {
display: inline-block;
font-weight: 700;
width: 1em; }
.mod__controls input {
margin: 0 0 -1px;
padding: 0.375rem 0 0.375rem 0.5rem; }
.mod__controls input::-webkit-inner-spin-button {
opacity: 1; }
.color-ratio__wrapper .icon {
display: inline-block;
font-size: 1.5rem;
text-align: center;
width: 0.875em; }
.color-ratio__passfail b {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
clip-path: inset(50%);
border: 0; }
.color-ratio__wrapper + .color-ratio__wrapper {
margin-top: -5px; }
.color-ratio__label {
padding-bottom: 0.5rem; }
.target-45 .color-ratio__label, .target-3 .color-ratio__label {
display: none;
visibility: hidden; }
.ratios__on-light .color-ratio__label, .ratios__on-dark .color-ratio__label {
padding: 0.5rem 0 0.75rem; }
.color-ratio__swatch {
border-style: solid;
border-width: 5px;
display: inline-block;
font-weight: 500;
line-height: 1.25;
overflow: hidden;
padding: 0.625rem 0.5rem;
position: relative;
text-align: center;
vertical-align: middle;
width: 7rem; }
.fail .color-ratio__swatch::before {
border: 2px solid currentColor;
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 150%;
transform: translate(-50%, -50%) rotate(-33deg); }
.color-ratio__passfail {
text-transform: uppercase; }
.color-ratio__results {
display: inline-block;
padding-left: 0.5rem;
vertical-align: middle; }
.level--AAplus, .level--AAAplus {
font-size: 1.5rem; }
pre {
background-color: rgba(0, 138, 101, 0.1);
border-top: 3px solid rgba(0, 138, 101, 0.5);
border-bottom: 3px solid rgba(0, 138, 101, 0.5); }
hr {
background-color: transparent;
border-top: 1px solid rgba(255, 255, 255, 0.15); }
.text-light {
color: #f8f2f2; }
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
color: #f8f2f2; }
details {
border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
summary::-webkit-details-marker {
color: #fff; }
.cc__brand__title a {
color: #f8f2f2; }
.cc__form__label {
color: #f8f2f2; }
.cc__form__input {
color: #b8aeae;
background-color: #0f0e0e;
border: 1px solid rgba(255, 255, 255, 0.15); }
.cc__form__button {
background-color: #70BDC1;
color: #0f0e0e; }
.cc__form__button:hover, .cc__form__button:focus {
background-color: #4a7090;
color: #fff; }
.cc__form__button:active {
background-color: #d62901;
color: #fff; }
.results__row {
border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.color-ratio__wrapper.pass .icon {
color: #14cc45; }
.color-ratio__wrapper.edge .icon {
color: #fe6; }
.color-ratio__wrapper.fail .icon {
color: #f23900; }
.color-ratio__label strong {
color: #fff; }
@media (prefers-color-scheme: light) {
body {
color: #333030;
background-color: #fff; }
a {
color: #4a7090; }
a:hover, a:focus {
color: #333030; }
.p__header {
background-color: #fff; }
.p__main {
background-color: #f8f2f2; }
.p__footer {
background-color: #fff; }
.p__footer small {
color: #474444; }
.text-light {
color: #474444; }
hr {
border-top: 1px solid rgba(26, 24, 24, 0.15); }
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
color: #474444; }
details {
border-bottom: 1px solid rgba(26, 24, 24, 0.15); }
summary::-webkit-details-marker {
color: #1a1818; }
.cc__brand__title a {
color: #333030; }
.cc__form__label {
color: #474444; }
.cc__form__input {
color: #474444;
background-color: #fff;
border: 1px solid rgba(26, 24, 24, 0.15); }
.cc__form__button {
background-color: #4a7090;
color: #fff; }
.cc__form__button:hover, .cc__form__button:focus {
background-color: #70BDC1;
color: #1a1818; }
.results__row {
border-bottom: 1px solid rgba(26, 24, 24, 0.15); }
.color-ratio__wrapper.pass .icon {
color: #0b8428; }
.color-ratio__wrapper.edge .icon {
color: #b45e09; }
.color-ratio__wrapper.fail .icon {
color: #c63606; }
.color-ratio__label strong {
color: #1a1818; } }
/*# sourceMappingURL=styles.css.map */
{
"version": 3,
"mappings": "AAMQ,yHAAiH;ACFzH;;QAES;EACP,UAAU,EAAE,UAAU;;AAIxB;;;;;;;;;;;EAWG;EACD,MAAM,EAAE,CAAC;;AAIX,IAAK;EAEH,UAAU,EAAE,KAAK;EACjB,eAAe,EAAE,MAAM;EACvB,cAAc,EAAE,aAAa;EAG7B,WAAW,EDZM,gDAAgD;ECajE,SAAS,EAAE,IAAI;EACf,WAAW,EDbM,GAAwB;ECczC,WAAW,EDpBa,GAAG;ECqB3B,KAAK,ECJuB,OAAiB;EDK7C,UAAU,EAAE,IAAI;EAChB,gBAAgB,ECRY,OAAiB;EDU7C,2BAA8B;IAfhC,IAAK;MAgBD,cAAc,EAAE,kBAAkB;;AAUtC,cAAe;EACb,MAAM,EAAE,CAAC;;AAIX,cAAe;EACb,wBAAwB,EAAE,IAAI;;AAIhC,GAAI;EACF,SAAS,EAAE,IAAI;EACf,OAAO,EAAE,KAAK;;AAIhB,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QAAQ;IACN,gBAAgB,EhBrFG,OAAiB;EgBwFtC,UAAU;IACR,gBAAgB,EhBhGS,IAAc;IgBkGvC,gBAAM;MACJ,KAAK,EhBpHD,OAAO;;EgByHjB,WAAY;IACV,KAAK,EhB1HG,OAAO;;EgB6HjB,EAAG;IACD,UAAU,EAAE,gCAA8B;;EAG5C;;;;;;;;;;;KAWI;IACF,KAAK,EhB7IG,OAAO;;EgBgJjB,OAAQ;IACN,aAAa,EAAE,gCAA8B;;EAI7C,+BAA0B;IACxB,KAAK,EhBxImB,OAAc;;EgB+IpC,mBAAE;IACA,KAAK,EhBlIW,OAAiB;EgBwIrC,gBAAS;IACP,KAAK,EhBrKD,OAAO;EgBwKb,gBAAS;IACP,KAAK,EhBzKD,OAAO;IgB0KX,gBAAgB,EhBzJO,IAAc;IgB0JrC,MAAM,EAAE,gCAA8B;EAGxC,iBAAU;IACR,gBAAgB,EhBpJJ,OAAa;IgBqJzB,KAAK,EhB/JkB,IAAc;IgBiKrC,gDACQ;MACN,gBAAgB,EhB9JP,OAAa;MgB+JtB,KAAK,EhBvKe,OAAc;;EgB8KxC,aAAO;IACL,aAAa,EAAE,gCAA8B;;EAM7C,gCAAa;IAAE,KAAK,EhB3JZ,OAAO;EgB6Jf,gCAAa;IAAE,KAAK,EhB3JZ,OAAO;EgB6Jf,gCAAa;IAAE,KAAK,EhB9JZ,OAAO;EgBkKf,0BAAO;IACL,KAAK,EhB9LiB,OAAc",
"sources": ["../scss/abstracts/_fonts.scss","../scss/base/_reset.scss","../scss/abstracts/project-vars/_colors.scss","../scss/abstracts/project-vars/_spacing.scss","../scss/abstracts/project-vars/_vars.scss","../scss/base/_global.scss","../scss/base/_media.scss","../scss/base/_typography.scss","../scss/abstracts/mixins/_fluid-units.scss","../scss/base/_utilities.scss","../scss/layout/_layout.scss","../scss/abstracts/project-vars/_breakpoints.scss","../scss/layout/_grid.scss","../scss/components/_page.scss","../scss/components/_colorcube.scss","../scss/abstracts/mixins/_show-hide.scss","../scss/components/_results.scss","../scss/abstracts/mixins/_screen-reader.scss","../scss/components/_theme.scss"],
"names": [],
"file": "styles.css"
}
\ No newline at end of file
<!DOCTYPE html>
<html class="js no-touchevents">
<head>
<meta charset="UTF-8">
<title>ColorCube: A color A11y Tool for Designers &amp; Developers</title>
<link rel="stylesheet" href="assets/css/styles.css" type="text/css">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@oomphinc">
<meta name="og:title" content="ColorCube: Evaluate Accessible Color Palettes">
<meta name="twitter:title" content="ColorCube: Evaluate Accessible Color Palettes">
<meta name="og:description" content="Adjust color values to meet WCAG Level AA or AAA standards for legible color combinations.">
<meta name="twitter:description" content="Adjust color values to meet WCAG Level AA or AAA standards for legible color combinations.">
<meta name="og:image" content="assets/img/ColorCube-screenshot.png">
<meta name="twitter:image" content="assets/img/ColorCube-screenshot.png">
<meta name="twitter:image:alt" content="We are sorry, but this tool is not optimized for the visually impaired.">
<script>
document.getElementById('images').addEventListener('change', handleFileSelect, false);
</script>
<script type="text/javascript" src="./assets/js/detection.js" ></script>
</head>
<body>
<header class="l__header p__header">
<div class="l__max u__space__outer cc__brand">
<h1 class="cc__brand__title">
<a href="." title="Press to reload page and start over with default values">
<img class="cc__brand__logo" src="assets/img/presently.jpeg" alt="" width="390">
ColorCube
</a>
</h1>
<!-- <p class="cc__brand__subtitle text-italic text-light">Color Accessibility Checker built by <a title="Go to Oomph website, link opens in a new window." target="_blank" href="//oomphinc.com">Oomph</a></p> -->
</div>
</header>
<main class="l__main p__main">
<article class="l__max u__space__outer">
<form action="/" class="u__space__outer u__space__vertical cc__form" method="post">
<div class="g__row">
<div class="g__col g--three rhythm">
<h2>Step 1:</h2>
<p>Detect HEX colors from the input image. </p>
<div>
Upload images to detect color codes.
</div>
<br>
<input type="file" id="images" name="files[]" multiple />
<br>
<output id="list"></output>
<!--This script has to be called after the file input is initialized-->
<!--This is where the image will technically go when we're taking color information from it (standard HTML5)-->
<canvas id="canvas" style="display: block;" width="150" height="150"></canvas>
<!--This is where the colors will show up-->
<div id="theme">
<p id="message"></p>
<!--Something curious about this is if you keep clicking on the image,
you'll get the same colors, but sometimes in a different order.-->
<div id="pickedColor" class="colorResults"></div>
<div id="color1" class="colorResults"></div>
<div id="color2" class="colorResults"></div>
<div id="color3" class="colorResults"></div>
</div>
<br>
<br>
<div id="scheme">
<p>
Generated Mono Color Scheme
</p>
<div class="swatches">
<div class="swatch" id="s0"></div>
<div class="swatch" id="s1"></div>
<div class="swatch" id="s2"></div>
<div class="swatch" id="s3"></div>
<div class="swatch" id="s4"></div>
<div class="swatch" id="s5"></div>
<div class="swatch" id="s6"></div>
<div class="swatch" id="s7"></div>
<div class="swatch" id="s8"></div>
<div class="swatch" id="s9"></div>
</div>
</div>
<!-- <p>Paste or enter colors (each on its own line). HEX colors are easiest, but <code>rgb()</code> values are also accepted. Submit our default list to see what happens. Click the button and Go!</p>
</div>
<div class="g__col g--three">
<label class="cc__form__label" for="brand-color-field">Enter a color or list (required):</label>
<textarea class="cc__form__input cc__form__textarea" id="brand-color-field" name="brand-color-field" rows="6" required autofocus>#d62901
#2d5070
rgb(112,189,193)
rgb(232,138,46)
#008a65
#373737</textarea>
</div> -->
<div class="g__col g--three">
<div class="cc__form__row">
<label class="cc__form__label" for="white-value">Light</label>
<input class="cc__form__input" type="text" id="white-value" name="white-value" value="#FFFFFF" required />
</div>
<div class="cc__form__row">
<label class="cc__form__label" for="black-value">Dark</label>
<input class="cc__form__input" type="text" id="black-value" name="black-value" value="#101010" required />
</div>
</div>
<!-- Submit Button -->
<div class="cc__form__submit g--wide text-align-center">
<input id="brand-color-button" name="brand-color-button" type="submit" class="cc__form__button" value="Get Ratios">
</div>
</div>
</form>
<div id="results-content" class="u__space__vertical--bottom cc__results">
<div class="u__space__outer cc__results__description">
<h2 class="cc__results__title u__space__vertical--bottom">Step 2: Review colors!</h2>
<div class="g__row">
<div class="g__col g--two rhythm">
<h3>Criteria</h3>
<p>This tool shows three different ratio targets and how your color performs with each — white, black, or other colors in your palette:</p>
<ul>
<li><strong class="text-light">WCAG Level AAA:</strong> a contrast ratio equal or greater than <strong>7.0</strong>. For large-scale text, a ratio equal or greater than <strong>4.5</strong>.</li>
<li><strong class="text-light">WCAG Level AA:</strong> a contrast ratio equal or greater than <strong>4.5</strong>. For large-scale text, a ratio equal or greater than <strong>3.0</strong>.</li>
<li>Text that is considered “Large-scale” is <strong>18 points (24px)</strong> or larger or <strong>14 points (19px) and bold</strong> or larger.</li>
</ul>
</div>
<div class="g__col g--two rhythm">
<p>For more details about success criteria, see the <a title="Go to w3 website in a new window" target="_blank" href="https://www.w3.org/TR/WCAG21/#contrast-minimum">WCAG 2.1 minimum contrast ratios</a> page.</p>
<h3>Modify with HSL</h3>
<p><strong>Why HSL?</strong> By modifying primarily the saturation and/or lightness, the original intention of the color is intact. To modify the Hue would be to start to modify the color from a blue to a blue-green, or from a red to an orange. Of course, modify the Hue as you wish as well, but our intention is to show how small movements to the saturation and lightness can increase accessibility while retaining the intention of the brand color. <a href="https://www.nixsensor.com/what-is-hsl-color/" target="_blank">More about how HSL works</a>.</p>
</div>
</div>
</div>
<div id="results-output" class="u__space__vertical--top cc__results__content"></div>
<div class="l__max--text u__space__outer u__space__vertical--top rhythm cc__results__description">
<h3>Edge values</h3>
<p>Be careful with <strong class="text-light">EDGE</strong> values &mdash; the color passes validation, but is within 0.5. It may still present a legibility issue even though it gets a passing grade. </p>
<h3>Most legible Pair</h3>
<p>From the given list of colors, which color combination is the <em>most legible</em>? This does not mean that the color pair will pass minimum requirements, but it has the best chance of passing. </p>
<p><strong class="text-light">Custom:</strong> Use the text input to change the color pairing.</p>
<h3>Check your hover text color vs. your body text color</h3>
<p>If <a title="Go to Webaim.org, link opens in a new window." target="_blank" href="http://webaim.org/techniques/hypertext/link_text#appearance">links are not underlined</a>, there must be 3:1 contrast between link text and body text and also an additional change (e.g., underlining) on mouse hover and keyboard focus. Use the tool to compare your link color against your body text color to see how they pair in the Most Legible column.</p>
</div>
</div>
</article>
</main>
<footer class="l__foot u__space__vertical p__footer">
<div class="l__max--text u__space__outer">
<details class="rhythm">
<summary><h2>What is this?</h2></summary>
<p>ColorCube is an accessibility (<abbr title="">a11y</abbr>) tool aimed at designers and developers. From a list of colors, we produce performance information with common color combinations. And then we give you the tools to adjust those colors until they pass the recommended color contrast ratios.</p>
<p><strong class="text-light">Why?</strong> At Oomph we believe a better web is an accessible web for all. We wanted a tool that could be used before a project starts &mdash; one that helps assess how an existing brand color palette performs. Starting early means that we can make adjustments early to avoid non-accessible color combinations later. </p>
<p>Corporate brand color palettes often do not take accessibility into account. And their colors are hard to change. By changing the saturation or brightness of a color <em>but not the hue</em> the color intention is preserved. Most users may not even notice that the color has been adjusted for readability.</p>
</details>
<div class="rhythm legal">
<a class="p__footer__logo" href="//oomphinc.com" title="Visit the Oomph website">
<img src="assets/img/oomph-square.png" width="90" alt="Oomph, Inc" />
</a>
<p><small>Made with <span aria-title="love">&#10084</span> in 2017 at Oomph, Inc. Last update October, 2019. Open source project with MIT license. <a title="Go to GitHub in a new window." target="_blank" href="https://github.com/oomphinc/colorcube">Contribute to the GitHub repo</a>.</small></p>
<p><small><strong class="text-uppercase">Disclaimer:</strong> The algorithm used in this tool and subsequent results are based on the luminosity algorithm recommended in the WCAG 2.0 guidelines to test for contrast. This tool is for general assessment purposes only and not a guarantee of compliance. This open-source visual tool is not optimized for screen readers. </small></p>
</div>
</div>
</footer>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script type="text/javascript" src="assets/js/tinycolor.js"></script>
<script type="text/javascript" src="assets/js/colorcube.js" ></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-43388256-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>
<html>
<head>
<meta charset="UTF-8">
<title>Slide Quality Checker</title>
<link rel="stylesheet" href="assets/css/styles.css" type="text/css">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@oomphinc">
<meta name="og:title" content="ColorCube: Evaluate Accessible Color Palettes">
<meta name="twitter:title" content="ColorCube: Evaluate Accessible Color Palettes">
<meta name="og:description" content="Adjust color values to meet WCAG Level AA or AAA standards for legible color combinations.">
<meta name="twitter:description" content="Adjust color values to meet WCAG Level AA or AAA standards for legible color combinations.">
<meta name="og:image" content="assets/img/ColorCube-screenshot.png">
<meta name="twitter:image" content="assets/img/ColorCube-screenshot.png">
<meta name="twitter:image:alt" content="We are sorry, but this tool is not optimized for the visually impaired.">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>[Color Detector]</title>
<script type="text/javascript" src="./assets/js/detection.js"></script>
<link rel="stylesheet" type="text/css" media="screen" href="./assets/css/main.css" />
</head>
<body>
<header class="l__header p__header">
<div class="l__max u__space__outer cc__brand">
<h2 class="cc__brand__title">
<!-- <a href="." title="Press to reload page and start over with default values"> -->
<img class="cc__brand__logo" src="assets/img/presently.jpeg" alt="" width="390">
Slide Quality Checker
<!-- </a> -->
</h2>
</div>
</header>
<div class="cc__form__submit g--wide text-align-center">
<a href="index.html">
<img src = "/Users/chithuwedage/Downloads/color accuracy.webp" width="400" height="300">
<input id="brand-color-button" name="brand-color-button" type="submit" class="cc__form__button" value="Color Accuracy">
</a>
<img src = "/Users/chithuwedage/Downloads/CSC-Reviewer-Grammar.png" width="400" height="300">
<input id="brand-color-button" name="brand-color-button" type="submit" class="cc__form__button" value="Grammer Checker">
<a href="index2.html">
<img src = "/Users/chithuwedage/Downloads/color-blind.jpeg" width="400" height="300">
<input id="brand-color-button" name="brand-color-button" type="submit" class="cc__form__button" value="Visual Accessibility Checker">
</a>
<img src = "/Users/chithuwedage/Downloads/images (2).jpeg" width="400" height="300">
<input id="brand-color-button" name="brand-color-button" type="submit" class="cc__form__button" value="Visibility Checker">
<img src = "/Users/chithuwedage/Downloads/object detector.png" width="400" height="300">
<input id="brand-color-button" name="brand-color-button" type="submit" class="cc__form__button" value="Object preparation">
</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="description"
content="Checks the contrast of your color design based on Web Content Accessibility Guidelines (WCAG) 2.0."
/>
<title>Color Contrast Checker</title>
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/favicons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/favicons/favicon-16x16.png" />
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/favicons/apple-touch-icon.png" />
<link rel="manifest" href="%PUBLIC_URL%/site.webmanifest" />
<link rel="mask-icon" href="%PUBLIC_URL%/favicons/safari-pinned-tab.svg" color="#172F36" />
<meta name="theme-color" content="#172F36" />
<!-- Facebook -->
<meta property="og:url" content="https://color-contrast.netlify.app/" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Color Contrast Checker" />
<meta
property="og:description"
content="Checks the contrast of your color design based on Web Content Accessibility Guidelines (WCAG) 2.0."
/>
<meta property="og:image" content="%PUBLIC_URL%/favicons/android-chrome-256x256.png" />
<meta property="og:site_name" content="Color Contrast Checker" />
<noscript>
<style>
html {
box-sizing: border-box;
}
* {
box-sizing: inherit;
}
body {
margin: 0;
padding: 0;
background-color: #172f36;
color: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
"Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
.wrapper {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 6vw;
}
h1 {
margin-top: 0;
}
</style>
</noscript>
</head>
<body>
<noscript>
<div class="wrapper">
<div class="container">
<h1>Please enable Javascript</h1>
<p>It seems like you disabled Javascript in your browser.</p>
<p>You need to enable Javascript to run this app.</p>
</div>
</div>
</noscript>
<div id="root"></div>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment