GENERATING WEB TEMPLATE WITH SUITABLE COLORS
BASED ON GENETIC ALGORITHM
Tuncay Yigit, Ali Günes, Serif Okumus and Melih Orhan
Department of Computer Engineering, Suleyman Demirel University, Cunur, Isparta, Turkey
Keywords: Web template, Color compatibility, Genetic algorithm.
Abstract: In this paper, we present a new approach that generates a web template with compatible colors. This
approach uses a genetic algorithm. The system generates random colors for each web template. All
templates are showed previews on the screen and then the best template is selected by applying the genetic
algorithm. It is converted to Html format and is showed on web browser. It is kept in the database for later
use.
1 INTRODUCTION
Web pages are communication tools between a web
producer and a web user. Many web page designs do
not have an aesthetic appearance. If we assume that
user is not a web developer and that he needs an
automatic tool to make him valuable creative
suggestions in order to personalize his site, then
standard editors can be useless because they fail to
catch the user preferences (Oliver at al., 2002). For
this case, it is important to choose an appropriate
color and design for an important event, it is crucial
to choose appropriate color schemes to convey
images and messages on your web page.
This study focuses on the following problem:
when creating a site, the user may specify the
personalize style of his sites and that more precisely
text colors, background colors, fonts, etc. The user
can use suitable web templates for web site styles
but many of templates have a color compatibility,
unsuitable fonts and fonts color.
In this paper, we propose to a genetic web design
optimizer for best web page styles. Our study
focuses on the optimization of web sites style, i.e.
compatibility of font and page background colors.
Genetic Algorithms (GAs) are search techniques
used to find approximate solutions. They were
formalized in 1975 by Holland (Holland, 1975).
GAs deal with a population of candidate solutions
for a given problem. Each solution is encoded with
in a sequence of genes. GAs consist of main steps.
Firstly, an initial population is generated (step1).
Then, iteratively each candidate solution gets a score
that evaluates its fitness with regard to the problem
(step 2).
Then, some solutions are selected (step 3) and
reused to generate a new population (step 4). The
generation consists in applying operations on
solutions (e.g., mutation, inbreeding). Sims (Sims,
1991) applied GA to artistic creation and replaced
automatic evaluation with human evaluation. This
approach is referred as Interactive GA (IGA)
(Takagi, 2001). IGAs lead to new kind of
applications in computer science like the
reconstruction of a criminal face guided by the
victim, or the creation of beautiful images. In those
applications, the user selects individuals according
to his own criteria and the IGA evolves the
individuals according to the user’s preferences
(Monmarché, 1999). The main drawback of a IGA is
the user fatigue induced by the selection of the best
individuals over generations. Usually, users can't go
beyond 20 generations of 16 individuals (Sims,
1991).
In Human Computer Interaction (HCI), IGA has
been explored by Monmarché to generate HTML
web pages. In these works, individuals represent
Cascading Style Sheets (CSS) (Monmarché, 1999)
or CSS plus webpage layout (Secretan, 2008). The
population is composed of 12 individuals. Each of
them is used to generate a web page. The set of web
pages is scaled to fit on a single screen. Individuals
can be edited by designers for saving time (e.g.,
colors customization). At each of IGA iteration,
338
Yigit T., Günes A., Okumus S. and Orhan M..
GENERATING WEB TEMPLATE WITH SUITABLE COLORS BASED ON GENETIC ALGORITHM.
DOI: 10.5220/0003678103380342
In Proceedings of the International Conference on Evolutionary Computation Theory and Applications (ECTA-2011), pages 338-342
ISBN: 978-989-8425-83-6
Copyright
c
2011 SCITEPRESS (Science and Technology Publications, Lda.)